Hi,
I have a CellTable with Columns represented by EditTextCell.
Now, if I'm not in edit mode but hit a certain key while an entry is just
selected, I want to perform a specific action. Like deleting the whole row
on DEL key.
Problem is: I can catch the event if I extend EditTextCell and override
onBrowserEvent, then checking the event.getKeyCode().
But what can I do thereafter to modify the list of the CellTable where the
EditTextCell
is inside?
class CellTableWrapper {
private CellTable<Foo>;
private ListDataProvider<Foo>;
}
class ExtendedTextCell extends EditTextCell {
@Override
onBrowserEvent(..) {
//how to modify listdataprovider on certain events??
}
}
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.