Check documentation for the latest version of dhtmlxSuite update DHTMLX Docs

update

updates a specific item

void update(string|number id,object data);
idstring|numberthe item id
dataobjectthe data object of the item

Example

var data = myDatastore.item(id);
myDatastore.update(data);
//or
var data = myDatastore.item(id);
data.property = "new value";
myDatastore.update(id, data);

Back to top