dataProvider.addDataDisplay(yourCellTable);
Also, after making any changes to the data provider such as modifying, adding or deleting, are you calling the data provider's refresh method?
dataProvider.refresh();
Jeff
On Wed, Dec 1, 2010 at 5:52 PM, Eric <ericsnell@me.com> wrote:
I have CellTable being fed data from a ListDataProvider. I set a list
into the data provider and can then query the CellTable and see the
updated HTML results. Popping up a window with the table also shows an
updated table.
The problem is, I originally put the table into a DeckPanel that's
nested in several other panels - dock, split,... and it shows in its
original "no data, only column header" form. When the data provider is
updated, the CellTable is not repainted. I can query it and pop it up
in another window, so I know the table is updated - it's just not
reflected in the panel in which it was originally placed.
Am I missing something simple here? Even trying to force a layout at
the root panel doesn't cause anything to show up. Any suggestions on
the problem or how I might debug this?
Thank you.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
Jeff Schwartz
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment