Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.21 KB

grid-persist-selection-across-pages.md

File metadata and controls

35 lines (25 loc) · 1.21 KB
title description type page_title slug position tags res_type
Persist Grid Selection Across Pages
How to Persist Grid Selection Across Pages.
how-to
Persist Grid Selection Across Pages
common-kb-persist-selection-across-pages
kb

Environment

Product Grid for Blazor

Description

How do I select data across different pages without losing the current selection? If I click a row, all other rows are deselected. 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

tip Since our 2.10.0 release the behavior showcased above is delivered out of the box with the SelectAllMode parameter of the GridCheckBoxColumn.