This is a migrated thread and some comments may be shown as answers.

Maintaining grid selection when using filter box

1 Answer 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Iron
Iron
Rob asked on 17 Jan 2020, 09:56 AM

I have an issue with grid selection.

If I have, for example, 10 items and i select item 7 it is correctly selected.

I then click the filter box and enter a filter which doesn't include item 7 and press enter the correctly filtered items are shown. If i click the clear filter button I would like the originally selected item 7 to be still selected (and in view) but this seems hit and miss. Sometimes it is but sometimes it could be one of the filtered items. 

Is this desired behaviour or am I missing something?

Thank you

R

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 21 Jan 2020, 02:35 PM

Hi Rob,

Thank you for the provided information. 

Can you check out the following forum thread, where a similar scenario was discussed: Column Filter - selection is being cleared? To summarize, when an item is filtered, it is removed from the selection, however you can utilize the Filtering and Filtered events in order to save/restore the selection. 

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Rob
Top achievements
Rank 1
Iron
Iron
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or