I am newbee to GWT, I have separate class which I use for only displaying LIST,when I say list I basically am using FLEXTABLE to show my data...3 FLEXTABLE places side by side. So, the problem I am facing here is...If I wrap all these FLEXTABLE with FLOWPANEL none of them get displayed on the screen. If I remove those FLOWPANEL wrapping around these FLEXTABLES all of them gets displayed on the screen.

有帮助吗?

解决方案

Tried like this??

    FlexTable f1 = new FlexTable();
    f1.setWidget(...     
    f1.setWidget(...

    FlexTable f2 = new FlexTable();
    f2.setWidget(...     
    f2.setWidget(...


    FlowPanel flowpanel= new FlowPanel();
    flowpanel.add(f1);
    flowpanel.add(f2);

    RootLayoutPanel.get().add(flowpanel);//may be you forgot this line
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top