Required library edition:
Required library file: dhtmlxdataview.js
Returns the index of the item with the specified ID
var index = view.indexById(id);