开发者

dojox data grid - hook to find if the header checkbox is selected or not

开发者 https://www.devze.com 2023-03-17 17:23 出处:网络
In a multiple selection grid, is there a hook to check if the check box in the header is checked or unchecked.

In a multiple selection grid, is there a hook to check if the check box in the header is checked or unchecked. Currently to see if all rows are selected, i am using grid.selection.getSelected().length which returns the no of selected rows and with more that 2500 rows in grid, IE throws script error. To optimize we just nee开发者_如何学God a hook to check if the header checkbox is checked or unchecked.


grid.selection.getSelectedCount() works without loading all the items.

getSelected() with indirect selection attempts to load all the items.

0

精彩评论

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