The GridRow object represents a row in the grid on the List page. It provides useful functions such as reading and modifying field values.
It is available as a row parameter in:
•AJAX snippets used in the Click actions;
•Custom buttons inserted into the data grid on the List page;
•In the Inline Add/Edit mode of the Field events.
You can also obtain GridRow objects for the grid records from any JavaScript event on the List page using these functions:
•RunnerPage.getSelectedRecords
Methods
Method |
Description |
Returns the jQuery object of the table cell with this field. |
|
Returns a raw field value without formatting applied. |
|
Returns the field value with formatting applied. In other words, returns the HTML code of this table cell. |
|
Sets the field's HTML as it appears in grid. |
|
The field value set this way does not appear in the grid and only applies to the consequent getFieldValue calls. |
|
Returns the jQuery object representing the table row. |
|
Prints a message in one of the cells in the row. Useful to debug/troubleshoot your click action code. |
Gets the previously added message. |
Returns an array of key field values of the record. |
Returns the record ID. |
See also
•Page Designer: Insert button into datagrid
•Change the row background color