Subclass the TextInputCell, override the getConsumedEvents(),
onBrowserEvent() method. To edit the property in
Collections.singleton("contextmenu") in getConsumedEvents method. Add
this as Column.
//.java
class TestTextInputCell extends TextInputCell
{
public TestTextInputCell()
{
super();
}
@Override
public Set getConsumedEvents()
{
return Collections.singleton("contextmenu");
}
public void onBrowserEvent(Cell.Context context, Element parent,
Object value, NativeEvent event)
{
event.preventDefault();
event.stopPropagation();
}
}
S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE