1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    14
    Vote Rating
    0
    rajch is on a distinguished road

      0  

    Default Unanswered: Create CheckBox in grid column header

    Unanswered: Create CheckBox in grid column header


    how to Create CheckBox in grid column header in extjs4

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    you may use following for your needs:-

    Just use Ext.grid.CheckboxSelectionModel as a column when declaring your Columns for your grid.

    Code:
    var colModel = new Ext.grid.ColumnModel({
        columns: [ new Ext.grid.CheckboxSelectionModel(),
        {/* other columns}]
    });
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    14
    Vote Rating
    0
    rajch is on a distinguished road

      0  

    Default Creating Duplicate Rows in grid and selection box model

    Creating Duplicate Rows in grid and selection box model


    Hi All,

    My requirement is like when user checks or selects the starting cell in the first row then it should select all the check boxes in row of the grid.

    For above requirement im using the GridPanel and Ext.selection.CheckboxModel.
    And grid columns => xtype:checkcolumn.

    Its working fine, but when user checking or unchecking the row cells then its creating the duplicate rows.
    And also suggest me how hide the columns dynamically based on condition.
    im setting true or false into status variable , like , hiddentatus.

    Its very very urgent,


    Thanks.

Thread Participants: 1

Tags for this Thread