I am using GWT2.3 celltable
How to call GWT'-CellTable-CustomEditTextCells api like Commit () and Cancel () froml using javascript / jquery?
Following is cancel () EdittextCell-GWT
Any alternative for this in javascript?
private void commit(Context context, Element parent, ViewData viewData,
ValueUpdater<String> valueUpdater) {
String value = updateViewData(parent, viewData, false);
clearInput(getInputElement(parent));
setValue(context, parent, viewData.getOriginal());
if (valueUpdater != null) {
valueUpdater.update(value);
}
}
Following is cancel () EdittextCell-GWT
Any alternative for this in javascript
private void cancel(Context context, Element parent, String value) {
clearInput(getInputElement(parent));
setValue(context, parent, value);
}
Using javascript I want to update a new value for a selected cell and hide it in non-editable mode. How to do this using javascript / jquery?
Additional Information:
When EditTextCell is in non-editing mode this time with the internal html code after clicking on editTextCell, the cell is hidden from non-editing mode in editing mode. I created an Input + Img element in this cell.
jquerys datepicker.
"", jquery datepicker, -edt-, valueUpdater, GWT.
valueUpdater .
, .
.