If you want to limit how many rows users can select in a read-only paging grid, you can constrain the number of selections by using validation. In this example, we limit the number of rows that the user can select to one.
This scenario demonstrates:
How to configure grid selection in a paging grid
How to add a validation to ta paging grid, preventing a user from selecting more than one row
Test it out
Select one of the rows in the grid and note that there is no validation message.
Select a second row and note that a validation message appears.
When testing offline, the validation message does not appear until you go back online.
Notable implementation details
The value of the grid is GridSelection rather than PagingInfo, and the value that the grid returns when the user interacts with it is also a GridSelection. The PagingInfo information is embedded in GridSelection. GridSelection must be used when a grid is configured for selection.