I have an app where I display item data from my mssql database. I have a button on every row that opens a modal and populates the fields in my modal with the data from my selected row.
However, if I have checked more than one item, it still only shows data from the row I selected first. I would like to skip getting data based on selected row entirely, and let the button recognize that I want to see data based on the row where I clicked the button.
I got it to work as far as I'm able to click the button without having pre-selected a row and get the correct data, but when I click on the action button on a new row without clearing my selection, I get the data from my previous row. Any pointers?