SYZ
11 Nov 2012, 7:56 PM
Hi All,
I'm using the Ext.us.RowExpander plugin with Sencha Architect. I've got the following error in my console (but the app still runs) whenever I double click on the item.
39972
The auto-generated code in my view:
Ext.applyIf(me, { items: [
{
xtype: 'gridpanel',
width: 700,
collapsible: true,
hideCollapseTool: false,
manageHeight: false,
title: 'My Grid Panel',
columnLines: true,
forceFit: true,
hideHeaders: true,
scroll: 'vertical',
store: 'MyJsonStore',
viewConfig: {
},
columns: [
{
xtype: 'gridcolumn',
dataIndex: 'company',
text: 'Company'
},
{
xtype: 'gridcolumn',
dataIndex: 'price',
text: 'Price'
},
{
xtype: 'gridcolumn',
dataIndex: 'change',
text: 'Change'
},
{
xtype: 'templatecolumn',
tpl: [
'<p><b>Company: </b>{company}</p>',
'<p><b>Price: </b>{price}</p>',
' '
],
align: 'right',
text: 'Group'
}
],
plugins: [{
ptype: 'rowexpander',
rowBodyTpl : [
'<p><b>Company: </b>{company}</p>',
'<p><b>Price: </b>{price}</p>',
'<p><b>Change: </b>{change}</p>'
]
}]
},
How do I solve this problem? Thanks a lot for your help.
I'm using the Ext.us.RowExpander plugin with Sencha Architect. I've got the following error in my console (but the app still runs) whenever I double click on the item.
39972
The auto-generated code in my view:
Ext.applyIf(me, { items: [
{
xtype: 'gridpanel',
width: 700,
collapsible: true,
hideCollapseTool: false,
manageHeight: false,
title: 'My Grid Panel',
columnLines: true,
forceFit: true,
hideHeaders: true,
scroll: 'vertical',
store: 'MyJsonStore',
viewConfig: {
},
columns: [
{
xtype: 'gridcolumn',
dataIndex: 'company',
text: 'Company'
},
{
xtype: 'gridcolumn',
dataIndex: 'price',
text: 'Price'
},
{
xtype: 'gridcolumn',
dataIndex: 'change',
text: 'Change'
},
{
xtype: 'templatecolumn',
tpl: [
'<p><b>Company: </b>{company}</p>',
'<p><b>Price: </b>{price}</p>',
' '
],
align: 'right',
text: 'Group'
}
],
plugins: [{
ptype: 'rowexpander',
rowBodyTpl : [
'<p><b>Company: </b>{company}</p>',
'<p><b>Price: </b>{price}</p>',
'<p><b>Change: </b>{change}</p>'
]
}]
},
How do I solve this problem? Thanks a lot for your help.