How to pass the button's magic value to the text component value?

I need to pass the magic "i" value from the action button to the text component.

I want to grab the specific column from the selected row and show it in the text component.

Is it possible with additionalscopes?

Could you expand on the context here a bit? This looks like it might be in a modal, what data value is the table loading?

@alex-w Yeah, it’s in a modal and table loads data via SQL query.

A Run JS Code query that was triggered by the action button could do this:

modalName.open();
return i;

Then in the modal components you could use something like:
{{ table.data[ jsQueryName.data ].shopify_note}}