I'm writing a client that retrieves a hierarchical set of data from
the server. This data set is time dependent. If the user enters a
time that is too old, the server will return an empty data set.
The client uses a CellTree with the root node using an
AsyncDataProvider. Whenever the user changes the time of interest,
the client requests the data set for that time from the server. When
the data set is received, the client calls the root node's updaters
like this.
updateRowData(0, newData);
updateRowCount(newData.size(), true);
This strategy works until the user enters a time that is too old.
When this happens, it correctly displays 'no data'. When the user
enters a new time that is not too old, the display still shows 'no
data'.
What am I missing?
Cheers,
Tony
--
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