Results 1 to 3 of 3

Thread: Create CheckBox in grid column header

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default Unanswered: Create CheckBox in grid column header

    how to Create CheckBox in grid column header in extjs4

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Answers
    124
    Vote Rating
    90
      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
      0  

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •