Persist Grid Selection Across Pages

Description

How do I select data across different pages without losing the current selection? If I click a row, all other rows are unselected. If I click the header checkbox, only the current page is selected.

Solution

If your users don't use the Ctrl and/or Shift buttons to extend the selection, you may want to implement some logic that amends the current selection. This also extends to the Select All checkbox in the header.

An example is available in the following project: https://github.com/telerik/blazor-ui/tree/master/grid/persist-selection

Since our 2.10.0 release the behavior showcased above is delivered out of the box with the SelectAllMode parameter of the GridCheckBoxColumn. More information can be found in the Multiple Selection article

In this article
Not finding the help you need? Improve this article