DHTMLX Docs & Samples Explorer

exists ()

Required library edition: This method works with any edition of DHTMLX library
Required library file: datastore_debug.js

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