Shuffle button

Hey @Cmstewart42,

I tried it that way. it did not work for me.

Thanks

Need to sort your list by random. Features, sort, random.

Then the reshuffle button will shuffle them. I’ve been doing that but trying how to only display one result.

There would be a delay, but you could add a randbetween formula in the spreadsheet. To generate a random number 1-x where x is the number of rows in the sheet. Then Grab the maximum number using a Rollup column and filter where the randbetween is the maximum.

Thanks @Robert_Petitto, I’ll try this option.

Actually, this might not work, because the randbetween numbers only change if the sheet is edited.

What if you didn’t use the reshuffle. Use an increment button instead that would edit the sheet which would shuffle the randbetween values. There would be a lag though.

The ranbetween gets updated if you go into the Google sheet settings and pick update by time. I did this to try and get my single view. It sort of works, but you are right it is delayed. I then added a switch to force the update as well in the glide sheet. It seems to double shuffle. Once when the glide data updates and then when the sheet updates and then when it sends it back to glide.

Rand updates every time any change is made to the sheet.

That’s what I did but I wanted to try the shuffle button.

Thanks!

Duh…do this. Don’t use an inline list. Build your own single view with an image and text:

2 Likes

I tried to do that, but couldn’t it to cycle through the images. Do you have each image link in a row on one column? I had 4 images and put a button with reshuffle and couldn’t get it to go through the list. What you did is exactly what I am looking to do.

This is awesome! Thanks for sharing!

Exactly! Make sure you have the tab sorted Randomly

That was it! I was trying to sort in the component itself and not the tab! Once I did that, beautiful!

1 Like

Hi, I’m looking for this button everywhere “sort” + “random” and I can’t find it. I saw a picture of it on Glide the Facebook page but it doesn’t appear the same way on my app. What do I need to do to see this? THX

Try this.

Step 1


Step 2
image

Thx for your quick reply. I’ve found it. But in fact it’s not going to help me. I’m trying to make a random carousel.
I work in education. I’d like to make a stack of random conversation cards, in which words or images would randomly appear.
Any thoughts?
THX

How about this?

That’s just great !
How can I do the same?
THX

How about this:

https://drawsomeone.glideapp.io