开发者

Selecting All the view in Telerik RadGrid

开发者 https://www.devze.com 2023-03-03 00:31 出处:网络
In Telerik Grid,suppose we add a gridclientselect column, and checkall is checked only rows in current view is selected, but my purpose is to mimic the user tha开发者_StackOverflow中文版t rows in all

In Telerik Grid,suppose we add a gridclientselect column, and checkall is checked only rows in current view is selected, but my purpose is to mimic the user tha开发者_StackOverflow中文版t rows in all the views are selected. So I added a checkbox column as gridbound column. My purpose is when the user checks on the header checkbox, I should show as all the rows in all views are selected. This is achieved through Javascript and asp.net code. Could you please provide some links for this type of functionality?


My proposal is to use a template column with asp checkboxes inside it as in this sample and when the header checkbox is checked, mark all grid items as selected via their Selected property and repeat that operation on rebind operations like sorting, paging, filtering, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消