Question

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.

Was it helpful?

Solution

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

You should use TextInputCell

OTHER TIPS

Well you can use TextInputCell instead of EditTextCell so text cells will look like form fields.
Extending TextInputCell with some copy-paste from DatePickerCell should do the trick for date cells.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top