1. #1
    Sencha Premium Member intellix's Avatar
    Join Date
    Mar 2012
    Location
    UK + Malta
    Posts
    263
    Answers
    5
    Vote Rating
    18
    intellix will become famous soon enough

      0  

    Default Answered: insertAfter with components

    Answered: insertAfter with components


    Is it possible to do an addAfter or insertAfter for components?
    I have a textfield and I want a panel underneath it to list errors with a DataView. Right now I'm having to do it for the DOM element, but Ext.Viewport.getActiveItem().query('dataview') doesn't pull it up as I guess the component isn't IN there, only the element is.

    blah2.element.insertAfter(blah1.element);

  2. var parent = blah1.parent();
    parent.insert(parent.indexof(blah1) + 1, blah2);

  3. #2
    Sencha Premium Member intellix's Avatar
    Join Date
    Mar 2012
    Location
    UK + Malta
    Posts
    263
    Answers
    5
    Vote Rating
    18
    intellix will become famous soon enough

      0  

    Default


    var parent = blah1.parent();
    parent.insert(parent.indexof(blah1) + 1, blah2);

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar