DHTMLX Docs & Samples Explorer

indexById (id)

Required library edition: This method works with any edition of DHTMLX library

Required library file: dhtmlxdataview.js

Returns the index of the item with the specified ID

  • ID - ID of the item in question
	var index = view.indexById(id);