I'm trying to add functionality to a table where each row has an "Edit" column that should link to a modal pop up. I would like the given pop up to display information from the other columns in the current row, i.e. name and target_value.
However, I am getting that currentRow is not defined in the text component I dragged into the modal pop up. How can I access that information here?
Related question - how can I trigger the modal custom column to close in a query? With other modals I can use modal1.close(), however how can I access the custom column's modal?
Not sure if this is doable with the custom column where type is modal.
However me being a master of workarounds I'd suggest having a modal somewhere on the editor with hidden set to true, then adding a action button which will open the modal and then you can normally close the modal within the JS.