I have a problem using loading indicators in DataGrid. What is the right way to set to the DataGrid the state of LOADING or LOADED? I didn't find any resource whatsoever anywehere. The support for this is really poor. By the way, whare am I wrong?
I just inizialize my DataGrid using:
myDataGrid.setLoadingIndicator(new Image(/*my ImageResource object*/);
and the during the flow of the program I use:
myDataGrid.fireEvent(new LoadingStateChangeEvent(LoadingState.LOADING));
when I want to put the DataGrid in the 'LOADING' state, i.e. just before making an RCP call, and then:
myDataGrid.fireEvent(new LoadingStateChangeEvent(LoadingState.LOADED));
just after the grid has been populated with data.
This doesn't work.
Please help.
On Thursday, February 10, 2011 8:05:36 PM UTC+1, Deepak Singh wrote:
Hi All,--How can we set the loading image to be visible till the cell table loads ?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kRRWetyg0tgJ.
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