PDA

View Full Version : Ext.ux.RowExpander - DoubleClick incurs error



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.

mitchellsimoens
13 Nov 2012, 5:47 PM
What Ext JS 4 version are you using?

SYZ
13 Nov 2012, 5:50 PM
I'm using 4.1.1
What Ext JS 4 version are you using?