Solution 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. Example: In the following example, the records based on the field EmployeeID are highlighted/selected.
JS
MVC
ASP.NET
JS
JS
JS
Figure 1: Select/ highlight rows based on the data on row/grid
Figure 2: Select rows dynamically based on data on row/grid |
This page will automatically be redirected to the sign-in page in 10 seconds.