1. #1
    Ext GWT Premium Member
    Join Date
    Sep 2011
    Location
    Bangalore, INDIA
    Posts
    8
    Vote Rating
    0
    preetesh is on a distinguished road

      0  

    Default Unanswered: How to add "SelectAll" feature to ColumnHeader "Resubmit" to select all CheckBoxes?

    Unanswered: How to add "SelectAll" feature to ColumnHeader "Resubmit" to select all CheckBoxes?


    I am displaying data from Database. Every record contain CheckBox. The name of the Column Header of CheckBox is "Resubmit".
    CheckColumnConfig checkColumn = new CheckColumnConfig("reSubmit", "Resubmit", 75);

    I don't want to use CheckBoxSelectionModel because it shows Checkbox as a ColumnHeader instead of FieldName "Resubmit".

    How to add "SelectAll" feature to ColumnHeader "Resubmit" to select all CheckBoxes?


    Thanks in Advance !!!

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    Answers
    60
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You could listen to the HeaderClick event that gets fired by the grid. If the column index is the one of your CheckColumnConfig, you could mark them all as checked.

    Take a look at the CheckBoxSelectionModel how to listen to the HeaderClick event.

Thread Participants: 1