DHTMLX Docs & Samples Explorer

indexById (id)

Required library edition: This method works with any edition of DHTMLX library
Required library file: datastore_debug.js Returns the index of an item with the specified ID.

var index = data.indexById(id);

Parameters:

  • id - the id of the item in question