Create state with selectedrow from table when click action button?

Hi i have the following case

trying to set state2 value to the {{table1.selectedRow.data.id}}

thank you

Hey @agaitan026!

Since this is a JS query you don't need {{}} or ""! Can you try just writing state2.setValue(table1.selectedRow.data.id)?

1 Like

awesome i forgot that always when i use js query {{}} i dont need those

thank you !