Limit the number of cells in a repeating group when current page is less than 800 pixels (i.e. mobile)

Hi, My repeating group has over 140 items in it, each with images and other data. It’s fine for a desktop, but I notice that on mobile it’s extremely slow. Is it possible to limit the number of items / cells within a repeating group only when the user is viewing the RG on a mobile device? (or when the page width is below a certain thresholde?

Thanks,
Thomas

Hi @bootstrapp.co

Add another RG with fix rows when less than 800.

set a conditonal on the one repeating group based on the page width or device used ( need to use a plugin to detect device ) or even detect the view port height.

The conditional will change the datasource of the R.G. and you will set the number of cells using “from item # until #” functionality.

1 Like