We have experienced issues with flextable when setting up the table in
DeferredCommands

e.g.:

List<Command> commands = new ArrayList<Command>(){{
  add(buildStructure());
  add(buildCellWidgets());
  add(setInitialValues());
  add(setBackgroundColors());
}};
Incrementally.execute(commands);

I am not sure what was happening, but basically it just didn't show &
no amount of debugging helped.

Perhaps this is what you are running into as well? We just reverted to
the non-deferred method of building the table.

Joe

On Sep 30, 3:59 am, Grundle <[EMAIL PROTECTED]> wrote:
> I am currently developing an application where GWT has been the
> primary API.  So far things have gone fairly well until I began trying
> to implement a data entry portion.  I am experience strange behavior
> with FlexTable where if I use
>
> FlexTable.setText(0, 0, "foo");
> FlexTable.setText(0, 1, "bar");
>
> The data shows up as intended.  However if I do
>
> FlexTable.setWidget(0, 0, new Label("FooBar"));
> FlexTable.setWidget(0, 1, new TextBox());
>
> suddenly the components are not appearing on the screen.  I cannot
> figure out why setText data appears, but setWidget does not want to
> render.  I experienced the same behavior using Grid as well, so I am
> at the point where I feel like I have missed something obvious.  I
> feel like I have tried everything, such as TextBox.setVisible() ,
> TextBox.setVisibleSize("5"), FlexTable.setWidth("100%").
>
> This really makes no sense.  As for the other Widgets/Panels that are
> being used see the following:
>
> Specifically I am adding the FlexTable to a VerticalPanel, which is
> then being added to a DockPanel.
>
> i.e.
>
> VerticalPanel.add(FlexTable);
> DockPanel.add(VerticalPanel, DockPanel.CENTER);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to