Check documentation for the latest version 6.0 of dhtmlxSuite exists DHTMLX Docs

exists

returns true if the item with defined ID already exists

void exists(string|number id);

Parameters

idstring|numberid of item in question

Example

var check = myChart.exists(id);

Back to top