DHTMLX Docs & Samples Explorer

item (id)

Returns hash of data related to the specific item.

var item1 = data.item(id);
alert(item1.Version);
item1.Version = 2; //sets property 'Version' of the item to value '2'.

Parameters:

  • id - the id of the item in question