strad84
12 Feb 2012, 2:42 AM
I get these error if add the checkcolumn to gridpanel
from Chome: "Uncaught TypeError: Cannot call method 'substring' of undefined"
from Firefox : "g is undefined"
and this is my code...
xtype: 'gridpanel',
itemId: 'pEsp',
id:'pEsp',
title: 'Espo',
store: esportore,
anchor: '100%',
columns: [
{
xtype: 'gridcolumn',
dataIndex: 'nome',
header: 'listaValori',
width:150
},{
xtype: 'checkcolumn',
dataIndex: 'stato',
header:'stato',
width:30
}
],
viewConfig: {
},
selModel: Ext.create('Ext.selection.CheckboxModel', {
})
from Chome: "Uncaught TypeError: Cannot call method 'substring' of undefined"
from Firefox : "g is undefined"
and this is my code...
xtype: 'gridpanel',
itemId: 'pEsp',
id:'pEsp',
title: 'Espo',
store: esportore,
anchor: '100%',
columns: [
{
xtype: 'gridcolumn',
dataIndex: 'nome',
header: 'listaValori',
width:150
},{
xtype: 'checkcolumn',
dataIndex: 'stato',
header:'stato',
width:30
}
],
viewConfig: {
},
selModel: Ext.create('Ext.selection.CheckboxModel', {
})