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

Sort by GridClientSelectColumn

3 Answers 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeremy Yoder
Top achievements
Rank 1
Jeremy Yoder asked on 09 Aug 2010, 12:20 PM

When using the GridClientSelectColumn column, is there a way to sort by it, so all the selecting rows can be at the top or bottom? Right now, all the header shows is a checkmark, which select or deselects all the rows. Can I have a column name at the top and click on that to sort?

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 12 Aug 2010, 08:08 AM
Hello Jeremy Yoder,

I am afraid that the desired functionality is not supported for the GridClientSelectColumn. Note that this type of column is intended for client-side item selection only.

I hope this helps.

Regards,
Martin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jeremy Yoder
Top achievements
Rank 1
answered on 12 Aug 2010, 02:34 PM

Fair enough, but can it be simulated? I'm just thinking out loud, but what if the grid had a dummy hidden column of boolean type. By clicking on a button on the form, could the dummy column get populated with the same value residing in the GridClientSelectColumn, and then programmatically sort by the hidden column? Or is that not feasible?
0
Martin
Telerik team
answered on 13 Aug 2010, 03:32 PM
Hello Jeremy Yoder,

Even though it might be possible to sort a GridClientSelectColumn in some cases, we do not support this feature out of the box. Additionally, my opinion is that implementing similar functionality for this column type is not very logical since it is not a data bound one. However you are free to implement any approach that you find appropriate for your scenario. Do not forget that you can also benefit from our code library policy and submit your solution to our community. Based on the complexity of the project and its usability, Telerik will also award you with some Telerik points and you may even become a Telerik MVP!

Finally, I would also like to thank you for sharing your ideas with us and our community.

I hope this helps

Regards,
Martin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Jeremy Yoder
Top achievements
Rank 1
Answers by
Martin
Telerik team
Jeremy Yoder
Top achievements
Rank 1
Share this question
or