DHTMLX Docs & Samples Explorer

set (id, hash)

Associates a hash of data with some ID.

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

Parameters:

  • id - the id of the item in question
  • hash - the javascript object, which contains data

Description:

The method was added as the pair for “get”, but so far there is no any practical use-cases, which can be based on it.