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

Paged grid row multiselection

2 Answers 32 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Paulo
Top achievements
Rank 1
Paulo asked on 12 Apr 2017, 01:37 PM
I'm trying to use a GridViewSelectColumn in a paged grid, but if i select some rows in the 1st page and change pages and go back to the 1st, i seem to lose the original selection and the 1st row of the page gets automatically selected. Is there a way to persist selection of rows across pages and avoid this automatic selection of the 1st row when i change pages?

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Apr 2017, 11:12 AM
Hi Paulo,

This would be the expected behavior, as RadGridView is aware only of the items that are within the current page. You will need to manually persist the selection for each page. I have demonstrated a possible approach for achieving this in the attached sample application I prepared for your convenience. Note, that it serves just as an example. I cannot confirm that this particular implementation would meet your requirements.

I hope it helps.

Best Regards,
Stefan X1
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Paulo
Top achievements
Rank 1
answered on 19 Apr 2017, 08:29 AM
Thanks for the answer, will check it
Tags
GridView
Asked by
Paulo
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Paulo
Top achievements
Rank 1
Share this question
or