How do I select the row while also opening a modal?

The help files/tutorials are written such that if you have a button on a table, and that button opens a modal, the table row that you clicked will be selected when you click on that button.

However according to this: [feature]: [Table widget] clicking on a Interact-able cell (button, icon button) should not select the corresponding row. · Issue #11403 · appsmithorg/appsmith · GitHub it appears that functionality has changed earlier this year.

So say I want to have an “edit row” button that opens a modal, and that modal should pre-populate with information from the row the button was in, how do I do that? Is there a way to reference (instead of “selected row”) “row button was in”?

Hi Eric,

To reference the row where the button was clicked, you need to use triggeredRow instead of selectedRow.

1 Like