Check documentation for the latest version of dhtmlxSuite indexById DHTMLX Docs

indexById

returns the index of the item with the specified ID

void indexById(string|number id);
idstring|numberID of the item in question

Example

var index = myChart.indexById(id);

Back to top