PDA

View Full Version : Async Collapsible ContentPanel doesn't show data unless manually expanded



mayhasina
19 Jun 2008, 10:14 AM
Hello Folks,
I have collapsible ContenPanels that get data asynchronously from the server. The problem is that they don't show data unless I manually expand them.

I used to solve this problem in myGWT by calling reCalculate() method. However, it looks like Ext GWT has an empty body for most of these methods.

Any help?

Thanks in advance,
May

gslender
19 Jun 2008, 1:14 PM
post some code, complete and in a state that can be compiled (pls use the [ code ] tags)

mayhasina
19 Jun 2008, 9:05 PM
Problem is solved after I set the anim property of the ContentPanel:



panel.setAnimCollapse(false);


Is this a bug?

Note that after I create the ContentPanels I collpase() them. After I receive the data asynchronously I expand() them.

gslender
19 Jun 2008, 9:30 PM
Is this a bug?

post a code snippet and we can tell you...