Check documentation for the latest version of dhtmlxSuite exists DHTMLX Docs

exists

returns true if the item with the defined ID already exists

boolean exists(string|number id);
idstring|numberid of the item in question
booleantrue/false if the item exists/doesn't exist

Example

var check = myList.exists(id);

Back to top