Challenge in getting the currently selected row's ID
Challenge in getting the currently selected row's ID

I wanted 3 buttons on the top of the datagrid. Add, Edit and Delete. If you have a row selected, then edit and delete will redirect you to the edit pages I already have written. How can I get that ID?
JSFiddle:
https://jsfiddle.net/qy9hgodn/4/
This discussion has been closed.
Answers
I am a bit confused. your buttons on the fiddle are showing us the ids
Try this...