Where can I find a UiBinder template for the FlexTable?
I am using Google Web Toolkit (GWT).
Where can I find a UiBinder template for the FlexTable?
I am using Google Web Toolkit (GWT).
I found a link text that said if you do not need to handle events, you can just use straight HTML instead of FlexTable for layout:
<g:HTMLPanel>
<table>
<tr><td>Info:</td><td><g:TextBox ui:field="infoTextBox"/></td></tr>
</table>
</g:HTMLPanel>
AFAIK, there's no custom "template" for FlexTable
(as there is for, for example, DockLayoutPanel
). Besides, FlexTable
is used when you have content added/removed dynamically - which means you won't be adding stuff via UiBinder templates (that doesn't even makes sense), you'd do that in the class bound to that UiBinder template. The same goes for initial content of the table - you just have to insert it programmatically.