Hi again! I didn't notice that you first select them, and then assign them with a button outside of the repeater.
This would be much easier if you filtered the second repeater rather than added/deleted rows. Do the following.
Get rid of all code in the checkbox
Make the data in your second repeater the same as in the first. Add the following filter on the second repeater in its OnLoad (not OnItemLoad) interaction
Add filter to this where [[Item.isMarked == true]]
When you first run the prototype, the second repeater will show no rows because none of its rows are marked yet.
Now, when we click the button, we want it to go through all of the rows in the search repeater and mark and unmark rows in the second repeater according to whether the checkbox is selected. This calls for a listener.
Basically, a listener is something you force an event upon (like Move) and then that command's corresponding event handler (e.g. OnMove) will execute for each row in the repeater. (If you google "axure repeater listener" you'll see lots of examples using this technique.)
We'll add a hotspot inside of the repeater to serve as a listener and give it this code (where the second repeater is called "toRepeater")
That Set Items per Page command simply forces the filter in the second repeater to be re-evaluated.
Now, when the button outside of the repeater that does the transfer is clicked, simply move the hotspot by (0.0) to fire off its OnMove event.
Updated file: repeater_add_2.rp (59.7 KB)