1. #1
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    Vote Rating
    121
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default [2.0b1][SOLVED] CheckboxSelectionModel header

    [2.0b1][SOLVED] CheckboxSelectionModel header


    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:
    http://extjs.com/forum/showthread.php?t=15260&p=73731

    Aaron

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    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.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    Vote Rating
    121
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Marking the thread as solved.

    I think the documentation for CheckboxSelectionModel's header config option could be updated to be a bit more clear.
    http://extjs.com/deploy/dev/docs/?cl...&member=header

    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).

    Aaron

  4. #4
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    added this to the 2.x doc bugs thread under the Misc / Requests section.

Thread Participants: 2