On Monday, November 5, 2012 5:17:43 PM UTC+1, Deepak Singh wrote:
Hi,I have a celltable which has one column as ButtonCell.I am doing some server side work on click of this button.Now, i want that the text should change to 'Loading...' when clicked on this button and should again to its original text after i finish server side work.The point is to show the user that the click has happened and to wait till work in progress.col.setFieldUpdater() has nothing to achieve this.Can you pls give me some solution ...
The "correct" handling of that situation would be that the column's getValue can return either the "normal" button text or "Loading…", so that it still "works" in case the table is redrawn midway 'til the server responds.
Once you have that, you only need to trigger a redraw of the raw whenever the value ("normal" text vs. "Loading…") changes.
-- 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/-/AfwGLdy3a6AJ.
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