getFirstId
returns the ID of the first item
function getFirstId(): number|string
Returns
Section titled “Returns”number,string
the ID of the first item
Example
Section titled “Example”const firstItemId = dgrid.select(dgrid.getFirstId());
also check the next samples: