Delete rows in a repeater based on a value in the clicked row


#1

I’m trying to understand how to write a rule in the Delete Rows action will delete any rows in the repeater that have the same name as the row I clicked delete on.

For example, the following list contains multiple items called ‘Red’. When clicking the delete button on either of them, I want both ‘Red’ rows to be deleted.

image

I hoped to be able to do something like this on the delete buttons:

image

But apparently ‘This’ isn’t the way to refer to the current row; so how can I refer to a value in the clicked row when writing a rule?


#2

I’ve just discovered the answer to this in the following post.

I just need to use TargetItem instead of This to refer to the clicked row:

image


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.