PDA

View Full Version : GXT TreePanel renders as blank screen



cbaheti
4 Apr 2011, 1:58 AM
Hi,
Facing a strange issue with TreePanel. A little difficult to explain, but here goes:

I am using a TreePanel. Its getting rendered as a blank screen.
When I type some text in the filter I see filtered tree nodes.
However on first render it alway comes up as an empty screen.

I have a ContentPanel with flow layout and I add the tree panel to it as below:


add(labelField, new FlowData(2));
add(filter, new FlowData(2));
add(tree, new FlowData(2));


Attaching some screenshots to explain.

I have tried forcing the layout of the content panel. However that has no effect.
Appreciate any help on the same.

Thanks
Chetan