I am using GWT2.3 celltable
GWT :: How to Commit & Cancel GWT's EditText cell using javascript/jquery ?
Following is cancel() of EdittextCell-GWT
Any alternative to do this in javascript ?
/**
* Commit the current value.
*
* @param context the context of the cell
* @param parent the parent Element
* @param viewData the {@link ViewData} object
* @param valueUpdater the {@link ValueUpdater}
*/
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() of EdittextCell-GWT
Any alternative to do this in javascript
/**
* Convert the cell to non-edit mode.
*
* @param context the context of the cell
* @param parent the parent Element
* @param value the value associated with the cell
*/
private void cancel(Context context, Element parent, String value) {
clearInput(getInputElement(parent));
setValue(context, parent, value);
}
Using javascript I want to update new value to selected cell & covert it to
non-edit mode How to this using javascript/jquery?
Please provide me solution or any pointer to this case
Thanks in advance.
--
Best Regards,
Vaibhav
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.