Dynamically add multiple rows to repeater

repeater-widget

#1

Hi, I was wondering if its possible to add multiple rows dynamically. I can add a set number of rows Onclick but I cant figure out if that could be dynamic.

Basically I would like a multi-select list and a button that would dynamically add individual rows for each item selected in the multi-select.

Thanks in advance for any help.


#2

This is the exact solution I’m looking for right now. Were you able to figure this out?


#3

I’m sure there is a more elegant way of doing this but this should at least get you started in the right direction. Add_Multiple_Rows.rp (69.9 KB)

The short version is you use the “isMarked” condition or “physically” store the item’s selected state in the repeater and set an OnItemLoad condition to add the marked/selected rows to the other repeater. Set a button to do something harmless to the repeater, like changing its page number, this will cause the repeater to refresh and execute the OnItemLoad condition.