Hello,
I am using CellTable to retrive data from server. I have a
EditTextCell. When I try to validate EditTextCell I cannot restore to
my previous data. I tried to use cellTable.redraw(). Also I tried
using EditTextCell et.SetViewData(Key,ViewData). I am not able to set
view data for this function. Can some one help me out.
here is my code:
Here I get error that View Data is not visible.
columnDN.setFieldUpdater(new FieldUpdater<FieldPoolMsg, String>() {
@Override
public void update(int index, FieldPoolMsg object,
String value) {
if (value.isEmpty()) {
Window.alert("Display Name cannot be
blank.");
displayNameCell.setViewData(KEY_PROVIDER.getKey(object),
displayNameCell.getViewData(KEY_PROVIDER.getKey(object)));
cellTable.redraw();
return;
}
object.setFieldDisplayName(value);
object.setPendingUpdate(true);
cellTable.redraw();
}
});
--
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.