How to insert the text of a selected data of a "data viewer list" in the text of a button?

Good morning,
I would like to know how to insert the title of a data from a “data viewer list” in the text of a button.
I would like that when I click on a data the list disappears and a button appears with the title of the selected data as text and that when I click on this button the list reappears and the text in the button is deleted. What I’ve done so far:

Thank you!

Use a set text block.
Get the value from a row according to the row id and set the button it’s text.

1 Like