PDA

View Full Version : Ext.grid.CheckboxSelectionModel Displaying two check boxes in single column in a grid



joshua.ejsm
15 Dec 2014, 1:34 AM
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./:)



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);
}
}
});

51282

Gary Schlosberg
15 Dec 2014, 9:44 AM
Sounds like this thread:
http://www.sencha.com/forum/showthread.php?92928

joshua.ejsm
16 Dec 2014, 2:44 AM
Hi,

Many Thanks for your reply..

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

Gary Schlosberg
16 Dec 2014, 12:57 PM
Glad to hear you were able to get it resolved, and thanks for posting your solution for the community.