View Full Version : Ext.selection.CheckboxModel issue

24 Apr 2013, 7:21 AM
1) I have issue with Ext.selection.CheckboxModel , we have grid with pagination , first column of the grid is checkboxmodel , now if i click on header column of checkboxmodel, all the rows are checked but if i navigate to next page header selection is still retained.

2) Is there any way to display text and checkbox in header column.

25 Apr 2013, 7:06 PM
Hmm.... don't believe there is a config for resetting the header to unchecked on page change, but you may be able to put the paging toolbar's change event to good use:

There's not a config to change the header content/text. To display text and a checkbox you'll need to extend the checkbox selection model class.