On my grid, I have a column that contains a checkbox (in addition to having selectable=multiple). In the header of the checkbox columns, I have a checkbox with "select/deselect all" as the header text. The grid also has virtual, remote data paging.
I am using the standard way of getting the selected rows - select().
When I click on the CheckAll checkbox, I'm guessing the best way to approach this is to get all the remote data on the client and select all the rows on dataBound. Does this make sense or is there another way to approach this?
If I do need to get all the rows from the server, I don't want to get the rows that are already on the client. How can I instruct Kendo to get all rows, except for those that are already on the client - or if that's really not realistic, how do I instruct Kendo to get all rows? Would I just update the dataSource and set the pageSize to the total number of records and do a dataSource.read()?
Thanks,
--Ed
I am using the standard way of getting the selected rows - select().
When I click on the CheckAll checkbox, I'm guessing the best way to approach this is to get all the remote data on the client and select all the rows on dataBound. Does this make sense or is there another way to approach this?
If I do need to get all the rows from the server, I don't want to get the rows that are already on the client. How can I instruct Kendo to get all rows, except for those that are already on the client - or if that's really not realistic, how do I instruct Kendo to get all rows? Would I just update the dataSource and set the pageSize to the total number of records and do a dataSource.read()?
Thanks,
--Ed