1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    17
    Vote Rating
    0
    ijayaprasad is on a distinguished road

      0  

    Default ExtJS 3.4 doLayout on panel with hbox

    ExtJS 3.4 doLayout on panel with hbox


    I have a panel and inside the panel i have components arranged in hbox layout. Say

    Panel
    hbox:1
    hbox:2
    hbox:3
    Now when i remove hbox2 dynamically and perform panel.doLayout(), the below error is displayed in firebug,
    "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLFormElement.insertBefore]"
    The corresponding hbox gets removed from panel items. But the panel cannot be recalculated using doLayout. Any ideas?

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    544
    Vote Rating
    52
    willigogs is a jewel in the rough willigogs is a jewel in the rough willigogs is a jewel in the rough

      0  

    Default


    In theory this should work fine, therefore I guess you'll have to provide this piece of code to see if there's anything strange at work...

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    17
    Vote Rating
    0
    ijayaprasad is on a distinguished road

      0  

    Default


    the error is thrown when i remove the component from panel.

    panel.remove(componentId, true); // the error is thrown here
    panel.doLayout();

  4. #4
    Sencha User
    Join Date
    Jan 2011
    Posts
    544
    Vote Rating
    52
    willigogs is a jewel in the rough willigogs is a jewel in the rough willigogs is a jewel in the rough

      0  

    Default


    As I said, that code is correct - therefore there must be an issue lying elsewhere which we obviously have no visibility of...

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    17
    Vote Rating
    0
    ijayaprasad is on a distinguished road

      0  

    Default


    Ok. i will try to post my code after removal of codes specific to my framework.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi