1. #1
    Sencha User
    Join Date
    Sep 2012
    Location
    Singapore
    Posts
    7
    Vote Rating
    0
    SYZ is on a distinguished road

      0  

    Default Unanswered: Ext.ux.RowExpander - DoubleClick incurs error

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,541
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What Ext JS 4 version are you using?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Location
    Singapore
    Posts
    7
    Vote Rating
    0
    SYZ is on a distinguished road

      0  

    Default


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

Thread Participants: 1