getItem
gets the object of the data item with the specified ID
object getItem(number|string id);
| id | number|string | the item ID |
| object | the object of a data item |
Example
// the 'record' variable will contain an object of the related DataTable row
var record = grid.getItem("rowId");
// you can access data members directly
var title = record.title;
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix
web ui framework and page of
list ui product.