Check documentation for the latest version of dhtmlxSuite set DHTMLX Docs

set

associates the hash of data with some ID

void set(string|number id,object hash);

Parameters

idstring|numberid of the item in question
hashobjecta javascript object which contains data

Example

myDataView.set(id,{
    property:value
});

Details

the method was added as a pair for the method get(), but so far there aren't any practical use-cases which can be based on it

Back to top