DHTMLX Docs & Samples Explorer

API Methods

  • afterUpdateCallback - used in combination with setOnBeforeUpdateHandler to create custom client-server transport system.
  • attachEvent - attaches an event handler to DataProcessor.
  • checkBeforeUpdate - checks mandatory fields and varify values of cells, initiate update (if specified).
  • clearVerificator - removes column from list of those which should be verified.
  • defineAction - allows to define handler function of the specified status.
  • detachEvent - removes an event handler.
  • enableDataNames - enables/disables named field for data syncing, will use column ids for grid.
  • enablePartialDataSend - enables/disables mode , when only changed fields and row id are sent to the server side, instead of all fields in the default mode.
  • enableUTFencoding - allows to set escaping mode.
  • getSyncState - gets the state of updating.
  • init - initializes dataProcessor.
  • ignore - allows to execute commands which will not trigger dataprocessor.
  • live_updates - enables Live Update mode that allows users to see changes of each other in real time.
  • sendData - sends row(s) values to server.
  • setDataColumns - allows to define, which column may trigger update.
  • setOnBeforeUpdateHandler - sets function called before server request sent ( can be used for including custom-client server transport system).
  • setTransactionMode - selects GET or POST transaction model.
  • setUpdated - marks row as updated/normal; checks mandatory fields,initiates autoupdate (if turned on).
  • setUpdateMode - defines whether rows should be sent to server automatically.
  • setVerificator - specifies a column which value should be varified before sending to server.