PDA

View Full Version : Problem with a grid CheckboxSelectionModel



dark_1001
9 Nov 2009, 10:36 AM
I have a problem with a grid CheckboxSelectionModel.
When active the header checkbox and then do a reload the store, the checbox still active.

How to remove the check from the checkbox after a store.reload ()?

I found a code that solves the problem, but not implement it.


var index = grid.getColumnModel().getIndexById('checker');
var hd = Ext.fly(grid.getView().getHeaderCell(index));
hd.removeClass('x-grid3-hd-checker-on');
Can anyone help me?

http://img35.imageshack.us/img35/3549/capturaab.png

PD: Sorry for my english.