9 Feb 2012 2:39 AM #1
BorderLayout methods collapse() and expand() are not working programatically
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:
neither it is throwing any exception nor performing collapse event.
Please help me in this regards.
9 Feb 2012 2:47 AM #2
9 Feb 2012 4:04 AM #3
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.
9 Feb 2012 4:20 AM #4
Please provide the working sample so that people can run it and try to help you
9 Feb 2012 4:42 AM #5
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()
9 Feb 2012 8:47 AM #6
It was not working actually. Instead of collapsing, it is not displaying the panel at all! Looks like GXT bug.