View Full Version : PagingToolbar Button Events

5 Aug 2010, 8:09 AM
So we've got a nice pretty grid that has that has a CheckboxSelectModel and using the PagingToolbar for pagination.

Our testers don't like the fact that if someone were to check the "Select All" checkbox and then click one of the nav buttons that the "Select All" checkbox is still checked on the "new" page.

After searching around I haven't found any way to access the buttonPress events for a PagingToolbar however and I'm wondering if they exist or if we'll have to extend/rewrite the PagingToolbar to handle this minor nuisance.


5 Aug 2010, 8:11 AM
No, you don't need to modify the PagingToolbar for that.

Simply clear the header checkbox in the grid store load event.

5 Aug 2010, 8:12 AM
*Forehead Smack* I didn't even think about the store load. Thanks Condor.