I use jQuery Datatable
for listing records and add an Action
button (Edit) for editing the record on a modal dialog. If I select a row I can get th
Assign the row-id(s) to the edit buttons as well, write click events for the edit buttons which, based on the id of the button clicked on, triggers the edit functionality / view.
You could assign the row-id(s) to the buttons either when rendering itself, or write a small function that does the same on page load.