Results 1 to 4 of 4

Thread: Ext.grid.CheckboxSelectionModel Displaying two check boxes in single column in a grid

  1. #1
    Sencha User
    Join Date
    Dec 2014
    Location
    india
    Posts
    3

    Default Ext.grid.CheckboxSelectionModel Displaying two check boxes in single column in a grid

    Hi All,

    I am having a issue with Ext.grid.CheckboxSelectionModel which is showing two check boxes in a single column of a grid as addressed in attachment.My script is as shown below.I couldn't figure out the problem.And when i am selecting one check box second one getting deselect.This is the problem with ExtJS 3.4
    Please help me out this.

    Code:
    new Ext.grid.CheckboxSelectionModel({
            checkOnly: 'true',
            header: 'Check',
            id : 'check',
            width: 76,
            mode: 'MULTI',
            listeners:{
                rowselect : function( selectionModel, rowIndex, record){
                        addNew(selectionModel, rowIndex, record);
                },
                rowdeselect : function( selectionModel, rowIndex, record){
                   removeExisting(selectionModel, rowIndex, record);
              }
            }
           });
    CheckBoxModel Problem.png

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

  3. #3
    Sencha User
    Join Date
    Dec 2014
    Location
    india
    Posts
    3

    Default Ext.grid.CheckboxSelectionModel Displaying two check boxes in single column in a grid

    Hi,

    Many Thanks for your reply..

    I have resolved this by adjusting the width using css class 'x-grid3-row-checker'

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Glad to hear you were able to get it resolved, and thanks for posting your solution for the community.

Posting Permissions

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