Reputation: 11
how can I create a placeholder with in the UiBInder, to later fill it with e.g. a Tree element? (Like the Flextable, but simpler).
Regards, Stefan
Upvotes: 1
Views: 1143
Reputation: 20890
<g:SimplePanel ui:field="panelForTree" />
Then, in Java:
@UiField protected SimplePanel panelForTree;
...
panelForTree.setWidget(theTreeYouMadeLater);
Upvotes: 7