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

indexById

returns the index of the item with the specified ID

void indexById(string|number id);

Parameters

idstring|numberID of the item in question

Example

var index = myChart.indexById(id);

Back to top