Skip to content

getLastId

returns the ID of the last item

function getLastId(): number|string

number,string the ID of the last item

mygrid.showItem(mygrid.getLastId())

also check the next samples: