Always show selected rows - Filter as Or Selected

1 Answer 69 Views
Grid
Jon
Top achievements
Rank 1
Jon asked on 02 Aug 2021, 03:49 PM

Users would like any row selected not be filtered out of display.  

new FilterDescriptor(nameof(Selected), FilterOperator.IsEqual, true)?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 03 Aug 2021, 06:30 PM

Hello Jon,

You can use the OnRead event of the grid to provide the current page of data to it with your own code (see more here). This means that you can take into account the selected items it currently has and implement the desired logic to put them where you want them to be. The Data can be filtered, sorted, paged without any regard to selected items, this is an important separation between these features and the grid cannot, out-of-the-box, change that behavior, the data cannot be coupled with row selection, or cell selection or other such UI gimmicks.

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Jon
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or