To get row number of selected cell

Tags: #<Tag:0x00007efc6186b0a0>

How can we get row number on last cell select and store in var?
In java script

Hi @cadop16620

You can use the getSelectedLast() array that will share an array of indexes of selected cell. Or just get it from the afterSelectionEnd() hook, like here https://jsfiddle.net/94jgy6um/

Thank you