View Full Version : Differrent cell editors in the single column

1 Jun 2016, 9:35 PM
I have an Ext.grid.Panel with column contained values. Values are different types: text, numbers, dates, boolean. I make a custom cell editor. I have a problem with boolean editor. When I create it, checkboox is not shown in the table. I use such construction for it:

xtype: 'checkbox',
checked: false

What is the problem in?

Gary Schlosberg
2 Jun 2016, 6:51 AM
Are you creating different editor types in the same column at the same time? Does the checkbox appear once you click on the editor?

2 Jun 2016, 8:05 PM
Yes, I have a single column with different editors for each cell in it. (combobox, textfield, datetime and I'd like to create checkboxeditor) Editor is selected by switch-case construction.

Here is an example of this:
case 'type1':
xtype: 'combo',
store: .....,
queryMode: 'local',
displayField: 'Name',
valueField: 'ValueNum',
typeAhead: true,
forceSelection: true,
allowBlank: false,
listeners: {
select: function (combo, record, eOpts) {


case 'type2':
xtype: 'checkbox',
checked: true

This operator is called from 'onBeforeEdit' event of Ext.grid.Panel component.
In common I have the such problem as in https://www.sencha.com/forum/showthread.php?302803-checkboxes-in-roweditor-broken&. The differences is in using not checkboxcolumn,