setUpdateMode
defines the action that will trigger data saving
void setUpdateMode(string mode,boolean dnd);
mode | string | the name of the mode |
dnd | boolean | the drag-n-drop processing mode |
Example
dp.setUpdateMode("cell", false);
Details
Applicable for dhtmlxGrid and dhtmlxTreeGrid only.
mode
- "cell" - update after changing any cell (default)
- "row" - update after editing and moving selection to a different row
- "off" - auto update will not be triggered
drag-n-drop
- false - after drag-n-drop dataprocessor will generate two actions - insert and delete
- true - after drag-n-drop dataprocessor will generate one update action
Back to top