DHTMLX Docs & Samples Explorer

exists ()

Returns true if an item with the defined ID already exists.

var check = data.exists(id);

Parameters:

  • id - the id of the item in question