When running a getSelectionModel().clearSelections() on a grid that uses a Ext.selection.CheckboxModel and all rows was selected using the “select all” check box at the top of the select column, the “select all” check box remains checked.
I did a dirty hack to get around this but I wish to know if there is a cleaner way or if this is a bug.
I’d try to put a listener on a grid component to track selection changes (not sure if it will help):
Btw, have you tried to do
getSelectionModel().deselectAll()? clearSelections is deprecated in ExtJS 4.1 and it’s runned on view not selection model.