![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Updating Fields with the Run Button in a Grid Application 1. First we must select the fields that will be showed in the Grid..
2. Access “Grid>>Layout>>Header & Footer” and enable to display footer. (We will use the onFooter event)
3. Performing actions on multiple rows of a Grid application can be done creating a new “Run” button in the Grid.
Create new Button.
This kind of button has 2 events to process PHP Codes.
4. Before to create our Run button code, first we will create some global variables in onInit event.
5. Now we can use [i] and [arr_vl] in onRecord and onFinish of the Run button.
Grid Event 6. After create the button events we must use the events onRecord and onFooter of the application to change the field color and to clean the array.
7. Now we should access “Application>>Global Variables” to set [tot], [arr_vl] and [i] to be “OUT” variables.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||