I've been calling setEmptyTableWidget(new Label()) before requesting data to show a "loading..." message, in the callback's onFailure to show an error message, and in onSuccess to show the "no records found" message.
On Wed, May 18, 2011 at 11:17 AM, Patrick Tucker < [email protected]> wrote: > Is there a way to tell CellTable that it should display a particular > message when it has no rows to display? > > Similar to how it draws the loading indicator, but I need to display > something like "No records available." after the request comes back > from the server. > > Thanks, > Pat > > -- > 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. > > -- 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.
