dev
dev

Reputation: 71

How can I add rows to a Google Web Toolkit flextable in the UiBinder?

Where can I find a UiBinder template for the FlexTable?

I am using Google Web Toolkit (GWT).

Upvotes: 7

Views: 10125

Answers (2)

Igor Klimer
Igor Klimer

Reputation: 15321

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.

Upvotes: 5

Chris Novak
Chris Novak

Reputation: 589

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> 

Upvotes: 7

Related Questions