Grid - know selected row

Hi, how to know the selected row/cell of a grid? Is there something like “getSelectedId” ?

You may try to use the foillowing form:

grid.selection.getCell()

For the selected row it will be:

grid.selection.getCell().row.id