Shuffle the rows of a table

Can I use CL to change the order of the rows in a table?

To what end do you want this?

You could put your intended text to shuffle into an ordered list component. Set it to randomize items and hide it. Then, set your cell text:

cellContent(1,1): orderedList.textAtIndex(1)
cellContent(2,1): orderedList.textAtIndex(2)
cellContent(3,1): orderedList.textAtIndex(3)

Thank you Daniel. It works!

1 Like