1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
    pramod.gampa is on a distinguished road

      0  

    Default BorderLayout methods collapse() and expand() are not working programatically

    BorderLayout methods collapse() and expand() are not working programatically


    Hi Team,

    I am using gwt version 2.4.0 and gxt version 2.2.5. I am facing a strange problem with BorderLayout.
    Please go through the following scenario:
    Assume, I have
    BorderLayout obj= new BorderLayout();

    Assuem i have set all regions with respective data. EAST region contains ContentPanel.

    The following code is not working:
    obj.collapse(LayoutRegion.EAST);

    neither it is throwing any exception nor performing collapse event.

    Please help me in this regards.

    Regards,
    Pramod

  2. #2

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
    pramod.gampa is on a distinguished road

      0  

    Default


    Hi Sven,

    Thank you for your quick reply.
    I have already gone through the link you have provided. But I didn't understand where I need to paste that code. Can you please tell me, where I have to paste the patch.

    Regards,
    Pramod

  4. #4
    Sencha User
    Join Date
    Nov 2009
    Posts
    51
    Vote Rating
    0
    smiletolead is on a distinguished road

      0  

    Default


    Hi Pramod
    Please provide the working sample so that people can run it and try to help you

    Regards,
    Ganesh

  5. #5
    Sencha User
    Join Date
    Nov 2009
    Posts
    51
    Vote Rating
    0
    smiletolead is on a distinguished road

      0  

    Default


    I find collapse working. See the class com.extjs.gxt.samples.client.examples.layouts.BorderLayoutExample in the GXT Examples. Added this line at the end of the method #onRender()

    Code:
    layout.collapse(LayoutRegion.SOUTH);

  6. #6
    Sencha User
    Join Date
    Nov 2009
    Posts
    51
    Vote Rating
    0
    smiletolead is on a distinguished road

      0  

    Default


    It was not working actually. Instead of collapsing, it is not displaying the panel at all! Looks like GXT bug.

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