View Full Version : [2.0b1][SOLVED] CheckboxSelectionModel header

15 Oct 2007, 3:04 PM
Changing the header of a CheckboxSelectionModel does not work properly. The sprite checker image will still show up with the new header over top of it. The issue stems from Ext's assumption that the css class of the header td can be named x-grid3-hd-{columnid}.

Here is a full explanation and workaround:


16 Oct 2007, 2:30 AM
Hey Aaron,

That's not what it is designed for. If you change the way it is set up, you will need to apply custom CSS and/or sprites to make it work.

Most of the time in that case I use a specific style with a #id or an extra .someClass on the outer grid to override and control the CSS.

16 Oct 2007, 3:26 AM
Marking the thread as solved.

I think the documentation for CheckboxSelectionModel's header config option could be updated to be a bit more clear.

It leads one to believe that simply changing the header config will remove the checker image in the header. This is not the case because the id must be changed as well (to change the css class name).


16 Oct 2007, 3:36 AM
added this to the 2.x doc bugs thread under the Misc / Requests section.