What's the difference between GWT's EditTextCell and TextInputCell? -
both cells seem render <input type="text"...></input>
. how differ? respective uses?
edittextcell special cell can used edit text. default cell in normal mode , text displayed non-editable html. on click cell changes edit mode , text displayed in input. user can edit text inside input.
if in edit mode enter changes normal mode , fires valueupdater. if in edit mode esc changes normal mode without firing valueupdater.
on other hand textinputcell cell displays text in input element.
to see both cells action (columns 3 & 4): http://gwt.google.com/samples/showcase/showcase.html#!cwcellsampler
Comments
Post a Comment