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

[Solved] GridClientSelectColumn doesn't maintain state when paging

3 Answers 246 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rh
Top achievements
Rank 1
rh asked on 30 Oct 2009, 11:48 PM
I have a grid with a GridClientSelectColumn. The grid has paging turned on. If I select some items from page 1, go to page 2, then back to page 1 then the items are no longer selected. I fail to understand this. Why have a column type like this if it isn't going to maintain state when paging?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Nov 2009, 04:41 AM
Hello,

GridClientSelectColumn select rows on the client. So it does not persist on postbacks. Here's a help document link which explains on how to persist client-side selection across pages:
Persisting the selected rows client-side on sorting/paging/filtering/grouping

Thanks
Princy.
0
rh
Top achievements
Rank 1
answered on 02 Nov 2009, 03:43 PM
The column seems incomplete without providing this functionality. Why not just include this functionality in the product rather than make everyone write the same code over and over again?
0
Sebastian
Telerik team
answered on 05 Nov 2009, 03:18 PM
Hi rh,

Thank you for the feedback - I will forward it to our developers for further consideration. This functionality has not been integrated in the grid due to performance reasons (browser engine pressure) when you have large number of items in the grid on the current page that has to be selected when changing the page index.

Regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
rh
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
rh
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or