Results 1 to 3 of 3

Thread: Ext.ux.RowExpander - DoubleClick incurs error

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Location
    Singapore
    Posts
    7
    Vote Rating
    0
      0  

    Default Ext.ux.RowExpander - DoubleClick incurs error

    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.

    RowExpander.JPG

    The auto-generated code in my view:

    Code:
    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.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    What Ext JS 4 version are you using?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Location
    Singapore
    Posts
    7
    Vote Rating
    0
      0  

    Default

    I'm using 4.1.1
    Quote Originally Posted by mitchellsimoens View Post
    What Ext JS 4 version are you using?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •