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

update

updates a specific item

void update(string|number id,object data);

Parameters

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