getItem

gets the object of the data item with the specified ID

object getItem(number|string id);
idnumber|stringthe item ID
objectthe object of a data item

Example

//'record' variable will contain an object of the related DataTable row, 
var record = dtable.getItem("rowId");
 
//you can access data members directly
var title = record.title;

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of javascript datagrid library product.