Skip to content

getFirstId

returns the ID of the first item

function getFirstId(): number|string

number,string the ID of the first item

const firstItemId = dgrid.select(dgrid.getFirstId());

also check the next samples: