. How do they differ? ...">

What is the difference between GWT EditTextCell and TextInputCell?

Both cells seem to display <input type="text"...></input> . How do they differ? What are their respective applications?

+7
source share
2 answers

EditTextCell is a special cell that can be used to edit text. By default, the cell is in normal mode and the text appears as non-editable html. When clicked, the cell goes into edit mode and the text is displayed on the input. User can edit text inside input.

If in edit mode a ENTER returns to normal mode and starts any ValueUpdater. If in edit mode the ESC returns to normal without turning on any ValueUpdater.

TextInputCell, on the other hand, is a cell that ALWAYS displays text in an input element.

To see that both cells are an action (columns 3 and 4): http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSampler

+14
source

In EditTextCell you can press Escape to discard the changes.

0
source

All Articles