The following special variables are available to the event handler:
- rrn gives the grid record number that was clicked. The record numbers are in the order written by the RPG program. This variable can be used by the click event handler to generate subfile widget ids, which are automatically suffixed with the record number.
- rowNumber gives the grid row number that was clicked. This can be different than the 'rrn' value, if client-side sorting is used with the grid. This value can be used with the grid's "getDataValue" and "getCellValue" APIs.
- row (deprecated) gives the same value as 'rrn' for RPG-based subfile grids, and the same value as 'rowNumber' for database-driven grids.
Products: ProfoundUI, Genie