Learn Bubble with 500+ tutorials, courses & AI Assistant ✨

Limited time launch offer get $80 off today

0 days 0 hours 0 minutes 0 seconds
SAVE $80 NOW
Planet No Code logo
Bubble.io CoachingFounder MentoringSponsorships
LoginLearn Bubble.io

Bubble.io Table Element Pagination with Numbers

In this Bubble tutorial we expand upon our last video tutorial explaining how to add pagination to the Bubble table element. This Bubble tutorial demonstrates how to add a number for the current page and total number of pages.

Join now $19/monthLearn more
Get 500+ tutorials, a No-Code AI Assistant, 4 premium courses, and everything you need to build faster!
Bubble.io Table Element Pagination with Numbers
Explore these topics...
Custom States
Do a search for
Set state
Table

With just this tutorial learn...

Unlock table pagination secrets: Learn how to add numbered pagination to your Bubble table element with this must-watch tutorial!

Master Bubble table tricks: Discover the easy way to implement "Page X of Y" labels in your custom states for seamless table navigation.

Level up your Bubble skills: Don't miss out on our exclusive PNC Mastery Program - elevate your Bubble app development game today!

With membership you'll...

Learn how to build a ChatGPT Clone, Custom CRM for your business & SaaS Marketing website with Webflow & AI.

Unlock 500+ Bubble tutorial videos with AI powered Q&A.

Debug your Bubble app instantly with our custom trained No Code AI Assistant.

Join now $19/month
Risk-free! 14-day money-back guarantee. Cancel anytime.

Adding Numbered Pagination to Bubble Table Element

Thank you to everyone who's left a comment on one of our Bubble table element videos. We've had a question about how to add numbered pagination to the Bubble table element. You would need to check out a previous video to catch up to this point because I go through the details of how to use custom states to add pagination to the Bubble table element. This video is about how to add a nice label just like this to your Bubble table.

PNC Mastery Program

Before I launch into that, if you're serious about learning Bubble, you need to check out a course we've got upcoming called the PNC Mastery Program. Go to planetnocode.com/mastery to find out more. It's a unique opportunity that we've got coming up and it's well worth checking out. Time is running out to express your interest and sign up. We've also got hundreds of Bubble tutorial videos, many of which are exclusive to our members on our website, so that's another reason to check out planetnocode.com.

Calculating Total Number of Pages

Let's dive into what I'm doing here. To work out the total number of pages, remember I have a table and it is limited to three rows. That's why the number three is going to come up several times in this Bubble tutorial video. I do a search of all my contacts, do the count, divide by three, and then ceiling that basically rounds up to the next whole number. That is my way of calculating how many pages I've got. As you can see from my demo, I've got one, two, three, and then I loop back round to page one again. So that's how I get the second part of the page x of y - that's how I get the y.

Determining Current Page

How do I get what page I'm currently on? I was scratching my head trying to work out a mathematical formula to do this, and then I gave up and thought I could just count it. If you think you could do a formula, I think if you divide by the right number, maybe use modulo, I think you'd get there. Anyway, it stumped me, so I just added the count.

Implementing Pagination Workflows

The way I did that was by going into workflow. I'm going to skim over some of the details in that previous video about pagination with the Bubble table element, but effectively my next and previous buttons have got two different workflows. They're based on conditions - basically if they need to loop round to the table and start at like point one or point zero again, or whether they're simply adding or subtracting to the position in the pagination that we're in.

Next Button Workflow

The simplest example is this one here. I'm saying my start position I add three, so that moves me on three records every time I click next. That's how I get my pagination. Then my page number is effectively another custom state of my pages custom state page number plus one. Remember for both of these, I'm not starting at zero - the default value is one, just keeping it simple for the maths. So that's going to say I'm on page one, next page two goes up to two, next page three.

Previous Button Workflow

On this one here, this is my basically my previous button in the simplest form, which is take three off the current position and then I just minus one off the page number. That's how I could go from page three to page two.

Circular Looping Pagination

In order to make it loop round to be like a circular looping pagination, I have to have these other workflows in place. This one is effectively saying go back to the start, so my start position is one and my page number is one. Then this one is also saying go back to the start because we've arrived at the first page, and so that is also setting the start position to one and the page number is one.

Conclusion

I can show you even if there is kind of a little bit of mystery there, the math checks out because look, I can go up, I can go down, and I can loop around. So that's how you do it. There you have it - how to add in a page x of y to the pagination for the table element in Bubble. I really hope that Bubble releases some of the additional data sources or features that we've grown used to with repeating groups and I hope they add it into tables. This is a bit of a messy workaround, certainly using more workload units than you would probably end up using if you just built this with a repeating group. But then again, the table element makes it nice and quick to lay out data in a very attractive way.

Table of contents

Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Your No-Code Journey Starts Here

The best way to learn Bubble.io?

Build No Code Confidently

No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.

Find every solution in one place

No more searching across platforms for tutorials. Our bundle has everything you need, with 500+ videos covering every feature and technique.

Dive deep into every detail

Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.

Monthly
Yearly
Member
Accelerate your Bubble app to launch
$99 / month
$19/month/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now
Member
Accelerate your Bubble app to launch
$990 / year
$149/year/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now

Frequently Asked Questions

Find answers to common questions about our courses, tutorials & content.

Do I need any coding experience?

No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.

How does the AI No-Code Coach work?

Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.

How long can I access the content?

As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.

What courses are included

Your subscription includes:

  • Bubble Beginner Essentials – Get up and running fast.
  • Build a ChatGPT Clone – Integrate AI into your no-code apps.
  • Build Your SaaS Website with AI – Learn to create a scalable startup site.
  • Develop a Custom CRM App in Bubble - Learn database relationships with a CRM.

Plus, new tutorials every week!

What if I get stuck on a lesson?

The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.

Do you offer a money-back guarantee?

Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.

Can I cancel anytime?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

What if I want more than just tutorials & courses?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:

  1. 1:1 mentorship to fast-track your progress
  2. Marketing strategies tailored for no-code founders‍
  3. Product management insights to scale your startup‍
  4. Personalized support from experienced founders

‍

Still have questions?

Reach out to our dedicated team.

Contact
Services
Search Bubble TutorialsBubble.io CoursesBook Bubble.io CoachingApply for Mastery
Latest Bubble tutorials
Rerank Text By MEANING With Cohere In Bubble.io Step by Step!
Unlock RAG Providers for NO CODE AI App Development TODAY!
Better Tables with Built-in Search and Sort By in Bubble.io
Partnerships
Flusk.eu
VectorShift
Comnoco
Plumb
Toddle
Whereby
Get started with no code
AI Powered No Code AppsNo Code Web ScrapingBubble.io Plugin tutorialsBubble API Connector tutorialsStudent & Teacher DiscountBest tools for no coders
Follow us
Youtube
X
LinkedIn
Planet No Code logo
In partnership with
Queen Mary University of London Logo
© 2024 Planet No Code. All rights reserved.
Privacy PolicyTerms of ServiceCookies SettingsContact Us