function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mattclausenmattclausen 

Smarter pagination using Site.com (Community Designer) using data repeaters?

I am using the pagination functionality native to the Site.com (now Community Designer) tool. I have the Previous and Next buttons added and they work, but they are not smart enough to know when they've reached the end of the content being supplied by the data repeaters. On the last page of content, there's still a Next button, even though there is no next page of content? Is there anyway to automatically hide or grey out the Next button once you've reached the last page? How would I resolve this?