getItem
gets the object of the data item with the specified ID
function getItem( // the item ID id: number|string): void
Example
Section titled “Example”// the 'record' variable will contain an object of the related DataGrid rowvar record = grid.getItem("rowId");
// you can access data members directlyvar title = record.title;