Posts by Isa • 1,559 points
53 posts
-
0
votes0
answers11
viewsQ: AWS - Pipeline when running deletes folders. How do you change this behavior?
Using an EC2 instance, along with codecommit, codebuilder and codedeploy, I have a folder structure at the root that looks like the following: root api (API codes in PHP) backend (PHP administrative…
-
0
votes1
answer31
viewsA: How to fetch values from other spreadsheets in the same XSLX using Phpspreadsheet?
I decided to run a loop on each secondary spreadsheet throwing the data in array. When adding to the bank, I look in the array for the ids I need and it worked. Maybe it’s not the best way (I’m…
-
-1
votes1
answer31
viewsQ: How to fetch values from other spreadsheets in the same XSLX using Phpspreadsheet?
I’m making an import of products where I first Gero a model. The template file comes with four spreadsheets: Worksheet -> Standard Sheet for Product Data Fill Environment -> List of…
-
1
votes1
answer61
viewsQ: Is it possible to have more than one "post" route in a controller. NET?
I’m starting a C#. NET Core API project. When I create a controller like "API Controller with read/write actions" it creates the available actions. using System; using System.Collections.Generic;…
-
0
votes1
answer82
viewsQ: How do I convert the php array values to the "uint" type of C#?
I need to take each value of the index of the array and convert it to return the same thing that returns in C# when we use the function (uint). <?php $arr = []; $codigo = intval(123456); $v =…
-
0
votes0
answers41
viewsQ: What is the PHP function that returns the same thing as "(char) integer"?
I have a code to convert from C# to PHP. This code has an integer to char conversion, and I’m not getting the same result. Note: I know that PHP is not strongly typed, but in version 7.1 (I am…
-
0
votes1
answer102
viewsA: How to create sub folders for controllers, model, and view in Phalcon?
Fixed routes the problem has been solved. Route nomas were not compatible with the router.php file
phalcon-phpanswered Isa 1,559 -
1
votes1
answer102
viewsQ: How to create sub folders for controllers, model, and view in Phalcon?
I am looking for a way to put folder levels in the structure of models, views and controllers. The structure I want to mount would be as follows: I’ve looked and implemented this link but it didn’t…
phalcon-phpasked Isa 1,559 -
1
votes1
answer50
viewsA: Does Kendo’s grid have a line limiter?
Kendo doesn’t have limiters, the problem was related to the consumption of resources. It was identified that in the development environment, it did not work, but in homologation the problem did not…
-
0
votes1
answer197
viewsA: Hide a column from the Kendo UI Grid when using a column header
For Kendo, you can only hide everything, you can’t hide just one of the columns. So either hide "Meta" and "Dt/Hr" (Entire Billing), or don’t hide this column.
-
1
votes1
answer50
viewsQ: Does Kendo’s grid have a line limiter?
I’m using Kendo Grid to show the user over 6,000 lines, but when I run more than 1,500 records, it doesn’t load... it just doesn’t show any records. Does anyone know how to solve?
-
0
votes1
answer49
viewsA: Export Kendo Grid to PDF
Found the solution in Question from Stack Overflow (English). It solves the export problem, but identified that for my case, it is better to export only to Excel.…
-
1
votes1
answer53
viewsA: Give Insert in another table
The question of running an Insert only after running the update is only to do the following: if ($stmtMoreInformations->execute()) { $stmtUpdateMoreInformations = $conn->prepare("UPDATE menu…
-
0
votes1
answer49
viewsQ: Export Kendo Grid to PDF
I have a function that exports to Excel and I need another one that exports to PDF. The function should export the data from a Kendo Grid. function ExportarParaExcel(grid) { grid = grid == undefined…
-
17
votes3
answers960
viewsQ: How to find a String from Regular Expressions
I have a field in the SQL Server 2014 database that stores the client address. The problem is that everything is stored in a single field varchar. Here are some real examples: Antonio José Nerchis…
-
1
votes1
answer77
viewsA: How to create a screen type for each user?
My suggestion is that you create a customer table, for example, and at the time of login you save in the session the logged in customer id. Later, in queries, insertions, changes... Anyway, in the…
-
1
votes1
answer31
viewsA: Get radius of a circle from Openlayers 3
I found the following solution that worked very well: draw.on('drawend', function(evt){ var feature = evt.feature; var p = feature.getGeometry(); var radius = p.getRadius(); console.log(radius); });…
-
1
votes3
answers4250
viewsA: How popular google line chart Charts with JSON
Take a look at this example that I took right from the line Chart. Ideally, you could work with an array to post columns to Chart. It’s easier and you get many examples.…
-
1
votes1
answer31
viewsQ: Get radius of a circle from Openlayers 3
Hello, I’m in need of getting the radius of a circle created in Openlayers 3. Does anyone know how to do? Here has the example of the map with the possibility to create the circles.…
-
0
votes1
answer197
viewsQ: Hide a column from the Kendo UI Grid when using a column header
Hello, I have a Kendo grid with several columns, all separated by headers, please note: In the case of the image I need to dynamically hide the meta column of the billing header. Before the headers…
-
2
votes1
answer99
viewsQ: XML for temporary table records
Last week I I asked Here on how to place each XML tag in a database column. Now I came across a situation close to that but with a plus, my XML comes from the database, and sometimes will come not…
-
2
votes1
answer114
viewsQ: XML for Database Columns
I have a table that stores an XML in one of its columns, but I need to make a select by placing each XML item in a column. The problem is that I don’t want to create another table, I want something,…
-
11
votes6
answers16518
viewsA: What does NULL really mean?
On the website of Macoratti, it defines NULL as follows: Null A value that indicates missing or unknown data in a field. You can use Null values in expressions. Null values can be entered into…
-
2
votes2
answers336
viewsA: Creation of ASP NET MVC reports
I’ve used the Reporting da Telerik, are great components, have the export to excel and pdf native and do not need to implement anything for it to work. However... is paid...…
-
14
votes6
answers10103
viewsA: What is a Web Service?
I would be the one who makes the "midfield" between two systems, I’ll give you a very simple system to see if you understand. You have a system that we’ll call 01 where the information is. You also…
-
1
votes0
answers99
viewsQ: Export XML and XSLT report to Excel
I’m having trouble exporting a report I developed in XML and XSLT... I was already exporting the simple report done in HTML, but this week I started studying XSLT and I came across the problem to…
-
10
votes6
answers498
viewsA: What is the safe way to define a default value for a function parameter?
I went through something similar and I was told that it was more right to use the example as in Link <script> function soma(a, b){ if(typeof b == 'undefined') { b = 2; } document.write(a + b);…
-
3
votes3
answers7358
viewsA: How to avoid calculation error in SQL Server?
You can make a "CASE". See: select a.totalcustoprodutos, a.datanota, a.numeronota,a.cfop, ((a.totalnota / (CASE WHEN a.totalcustoprodutos > 0 THEN a.totalcustoprodutos ELSE 1 END)) - 1.000) * 100…
-
6
votes2
answers2164
viewsQ: Different session in browser tabs
I’m having problems with a system session. What happens is this: I opened the browser, downloaded the system URL and logged in. At this point the "X" session is created. I opened a new browser tab,…
-
0
votes3
answers244
viewsA: Numerical counter
Can you already search, insert or change something from the database? Have you done this on any screen? If yes, you can create a field in your database of the whole type, not allowing null values…
-
4
votes2
answers1581
viewsQ: Folder browsing in PHP
I have a few folders in my project and I need to go through them all keeping the name of the mother, daughter, and her files folder... The parent folder is "Manual", inside it I have other folders…
-
0
votes0
answers68
viewsQ: Image thumbnails in Kendo UI Editor
I’m having trouble with the "Editor" component of Kendo... When loading the images it has a feature that simulates a gallery, or even the folder itself in Windows... on that screen I can (or at…
-
0
votes1
answer72
viewsA: Wizard with Kendo UI
I searched a lot and at the time found nothing, so a colleague told me to use the following code (It may not be the best and most practical, but it works) <div id="dvForm" style="margin-left:…
-
0
votes1
answer237
viewsQ: Select Kendo Grid row when clicking on the columns hyperlink
I have a problem at Kendo’s grid. What happens is that I have a grid with several columns, among them, I have one with the last position sent by the tracker. This column has the data in hyperlink…
-
3
votes1
answer2466
viewsQ: Update in date field updating calculated field
I have in my table a Dtbehavior field of type Datetime. Besides this I have three other fields computed as follows: DAY: (datepart(day,getdate())) MES: (datepart(Month,getdate())) YEAR:…
-
3
votes2
answers2556
viewsA: Pick start and end date of one week of the month
In the forum of Microsoft, gave me a solution: declare @MêsAno varchar(7), @Dia1 DATE, @Id INT = 1; set @MêsAno = '1/2015'; --< mês/ano, sem espaços set @Dia1= Convert(date, '1/' + @MêsAno, 103);…
-
2
votes2
answers2556
viewsQ: Pick start and end date of one week of the month
Good afternoon, you guys. Today I’m having a problem getting the start date and end of a week of the month. Let’s go by parts: I have a combo that brings me the weeks of a month posted. To know how…
-
1
votes1
answer444
viewsQ: Enrollment in Courses - Joomla 3.4
I am in need of a plugin for joomla or code for the following situation: I have a site that offers courses, but until 6 months ago the owner of the site, not even site had (rss) so she asked to be…
-
1
votes1
answer72
viewsQ: Wizard with Kendo UI
Kendo Ui did not develop the Wizard component, so we developed a Javascript component of our own, but by "mixing it" with Kendo I get errors in Kendo.web.min.js from Kendo. In search of solution I…
-
5
votes1
answer95
viewsQ: I cannot remove an item copied from one list to another (drag and drop)
I have the following code http://jsfiddle.net/6hLsfqtn/. My problem occurs as follows: Add a Double Steppe to the list on the right. I add a Simple Steppe to the list on the right. Add a second…
-
6
votes3
answers10221
viewsA: Identify browser and its version
Hello, I chose to work as follows: I created a function to check the browser and the OS private function VerificaNavegadorSO() { $ip = $_SERVER['REMOTE_ADDR']; $u_agent =…
-
3
votes1
answer215
viewsA: How to change the color of Kendo UI Dropdownlist according to the Status variable?
Good people... I looked in several places and could not change the color of the dropdownlist, but I was able to assemble with icons.... Follow the code to mount the Dropdownlist: var cliente =…
-
1
votes1
answer182
viewsQ: I cannot remove an item from the drag and drop + sortable list
Hello, I have the following situation... I have to develop a screen where the rounds of a truck are mounted. To do this, the customer needs a "drag" feature on the vehicle parts. The screen should…
-
1
votes2
answers1005
viewsA: Google Maps Iframe is not showing the location marking
Let’s see if I understand, what you need is to put several dots on the map and set the zoom for the user to view all? If I got it right, you can use the Google Maps API. I applied something in this…
-
3
votes1
answer215
viewsQ: How to change the color of Kendo UI Dropdownlist according to the Status variable?
Can anyone tell me if there’s a way to change the color of Kendo’s Dropdownlist according to a Status variable? For example: If user is Active -> Assumes Green color If user is Inactive ->…
-
2
votes1
answer58
viewsQ: Sortable Kendo UI
I need to set up a screen where I drag options from one list to another. However, when loading from the first to the second, only one copy should be created for the second list. When the user…
-
1
votes1
answer314
viewsA: Search before loading Kendo Grid
Good people, the solution we found in the company was the following: /* Definição do modelo */ modelo = kendo.data.Model.define({ id: "Id", fields: { Id: { editable: false, nullable: false, type:…
-
1
votes3
answers7273
viewsA: Load image and insert into a DIV
Hello, I use the components of Kendo UI, see their example here, but also has examples in W3schools. See the two that will help you.…
-
1
votes1
answer314
viewsQ: Search before loading Kendo Grid
Hello, I’m using a textbox to search and load the datasource of Kendo’s grid. However, the way we build the project, to edit a record it is necessary to select a Grid item and edit in the fields…
-
5
votes1
answer245
viewsQ: Printing reports in Firefox using Telerik Reporting
I have a problem, which apparently is bothering other developers who use the components of Telerik.... http://www.telerik.com/forums/print-button-in-firefox-starts-pdf-download And the developers…