Can a data list have swipe left and swipe right events like Gmail Archive?

John shared this question 4 years ago
Answered

I am trying to replicate the drag left or drag right attributes found in Gmail which allows the user to archive items in their inbox. Is there a way to apply an attribute to a specific data list row so that it might function like a single rectangular item?

Comments (1)

photo
1

Hello John,


You may place an on swipe event type on the current row of a data list. However, when implementing the event on this row, it will apply to all rows within the data list. If you want to target only one row, then I would suggest either using a table to store the data or having the event occur on a hotspot.


Best,


Luisa