1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    2
    MakrelJohnson is on a distinguished road

      0  

    Default RowExpander in EXT 3.3.1

    RowExpander in EXT 3.3.1


    I've inherited an app using EXTJS 3.4 and it uses rowexpanders in several pages. My problem is: on one specific page I have a GridPanel with the rowexpander plugin. This is set up like all the others in the application and they are working well. On this page, whenever you click the expand image, it shows an expand action. You'll see a loading image flash (even if it's not loading anything) and then the row collapses on itself. This seems to be an IE 8 phenomenon...

    I've removed all functions in the beforeExpand event so that my template is 'Hiya':
    Code:
    var expander = new Ext.ux.grid.RowExpander({
                tpl: new Ext.Template('Hiya')
            });
    My grid is such:
    Code:
    oNewGrid = new Ext.grid.GridPanel(
    {
            store: store, 
            cm: cm,
            frame: false, 
            autoScroll: true,
            border: true, 
            height: 500,
            title: 'Work Orders',
            id: this.pageName + '_WorkGrid',
            view: new Ext.grid.GridView({ autoFill: true, forceFit: true }),
            plugins: expander,
            collapsible: true
    });
    Can anyone explain why my expander triggers an expansion (I can see the flash of the rowbody with 'hiya') then collapses upon itself? Too much gravity?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Vote Rating
    850
    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


    Just by that there isn't anything that jumps out
    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.

Thread Participants: 1