DHTMLX Docs & Samples Explorer

indexById (id)

Returns the index of an item with the specified ID.

var index = data.indexById(id);

Parameters:

  • id - the id of the item in question