You can select or highlight rows based on data using the queryCellInfo event or can also select a row using an external button click event.
The queryCellInfo is triggered every time a request is made to access particular cell information, element and data.
In the argument of the queryCellInfo event, you can obtain the following details.
By comparing the value obtained from the argument of the queryCellInfo event, you can select the corresponding data rows using the selectRows() method of the Grid.
In the following example, the records based on the field EmployeeID are highlighted/selected.
Figure 1: Select/ highlight rows based on the data on row/grid
Figure 2: Select rows dynamically based on data on row/grid
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|