What is special about the last two columns? Are these the only columns with data that can be hidden/shown?
Is “separate button” in the repeater or outside the repeater? If inside the repeater, is there a unique button per column/entry (5 buttons per row? Or maybe 2 buttons per row), or do you want one button per row?
You can set this up visually in the repeater cell. Just style and place button widgets where you would like them to appear. Assign interaction behaviors to each button, referring to the repeater data, for example,
OnClick Set Text of messageTextWidget to value of [[Item.Message]]
…where “messageTextWidget” is the name of a widget in the repeater cell and “Message” is the name of a column in the repeater dataset.
Or another approach would be to set your text widgets to Hidden by default, assign their text value normally in the repeater’s ItemLoaded event, and use the buttons to Show (or Toggle Show/Hide) the associated text widget.
It would help me and other forum users here to get our heads around your questions if you could upload an .rp file with your setup and progress so far. Or a pointer to a website that does this already, or some screenshots or hand sketches depicting some key states, user interactions and results. If a picture is worth 1,000 words, a demonstration (working website with similar feature) is worth 10,000 words, and your .rp file is worth 100,000 words