Search code examples
gwtgwt2

How do I make GWT cells in a CellTable always show as editable?


By default, a GWT CellTable renders certain widgets (e.g. EditTextCell and DatePickerCell) to look like they're non-editable until you click on them. After you click on them, they're displayed as editable. When you click off, they go back to looking like they're read-only. I want all the fields to always appear editable by default, whether they're selected or not. Is there a way to do this?

BTW: I'm using GWT 2.1.


Solution

  • Here is the sample best fit your needs Cell Sampler (showcase)

    You should use TextInputCell