I have a DataGrid.
On click of a specific row, I want a modal to show with information specific to that row.
First, I tried using the select column to initiate an “On click” state, which records the “item.data.id” in a variable called “clickedRow.”
However, the “clickedRow” variable does not record the “item.data.id” when checking the variable in the side panel.
I tried the same when clicking on a particular cell, but receive the same results.