Skip to content

getItem

gets the object of the data item with the specified ID

function getItem(
// the item ID
id: number|string
): void
// the 'record' variable will contain an object of the related DataGrid row
var record = grid.getItem("rowId");
// you can access data members directly
var title = record.title;