Hi, This solution worked for me: https://groups.google.com/d/msg/google-web-toolkit/sPRy0lqACsc/UJH-jvBNAcIJ
On Tuesday, August 14, 2012 4:21:19 PM UTC+5:30, Arash wrote: > > Hi, > > I have changed the CellBrowser sample in showcase to render an > EditTextCell for one of the columns. I would like to ignore the value > change in EditTextCell in certain occasions. If the value entered by user > in the EditTextCell is not acceptable, I would like to revert back to the > original value that it was already rendering. I have read multiple posts > about refreshing the cell table but none of them prevents the EditTextCell > to change its value or at least set it to its original content. Note that > the backed data provider has not changed, in fact if you click on the > EditTextCell two times, it automatically reverts back to the original value > but refreshing the EditTextCell data provider or it's parent data provider > or closing / reopening the cellBrowser has no affect. > I tried to extend the EditTextCell and override onBrowserEvent method but > I can't seem to find a way to set the content of the cell to it's original > value. > > Any help would be greatly appreciated. These are similar posts that I have > followed: > > > https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/Jv8cz3ynwEI/FwJLyAS2fdcJ%5B1-25%5D<https://groups.google.com/forum/?fromgroups#%21searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/Jv8cz3ynwEI/FwJLyAS2fdcJ%5B1-25%5D> > > http://stackoverflow.com/questions/4702102/gwt-how-to-programmatically-reload-cellbrowser > EditTextCell but related matter. > > http://stackoverflow.com/questions/5171254/how-can-i-disable-edittextcell-and-enable-it-with-editbutton-click-in-gwt > > https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/ymSNiH5VtM4/ZkFo-pCc9hMJ%5B1-25%5D<https://groups.google.com/forum/?fromgroups#%21searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/ymSNiH5VtM4/ZkFo-pCc9hMJ%5B1-25%5D> > > > Thanks, > Arash > -- 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/-/aRK8-Nq0O5cJ. 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.
