In this tutorial, you'll learn how to dynamically delete rows from a repeater widget using the Delete Rows action.
Note: If you aren't yet familiar with the repeater widget, you can read about its functionality and uses here: Repeater Widgets
1. Widget Setup
Open a new RP file and open Page 1 on the canvas.
Drag a repeater widget onto the canvas and double-click it to edit its item.
In the Libraries pane, switch to the Icons library and enter
closeinto the search field at the top-left of the pane.
Drag the big "X" icon onto the canvas and place it to the right of the rectangle. Set its width and height to
2. Delete the Row When the X Is Clicked
With the "X" icon still selected, click New Interaction in the Interactions pane.
Select the OnClick event in the list that appears, and then select the Delete Rows action.
Select the repeater widget in the Target dropdown.
Leave the This radio button selected and click OK to save the action.
3. Preview the Interaction
Preview the page and click the "X" icons one by one to delete the repeater's rows.