Check documentation for the latest version 6.0 of dhtmlxSuite setUpdateMode DHTMLX Docs

setUpdateMode

defines the action that will trigger data saving

void setUpdateMode(string mode,boolean dnd);

Parameters

modestringthe name of the mode
dndbooleanthe 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