How to add navigate a table with the arrow keys (Up Down Enter)
In this Bubble tutorial video we demonstrate how to use the arrow keys to navigate a table in Bubble.
Master Bubble table navigation: Learn to use arrow keys and enter for seamless repeating group browsing!
Unlock powerful keyboard shortcuts: Discover how to implement up, down, and enter key functionality in your Bubble tables.
Elevate user experience: Create intuitive navigation in repeating groups with custom states and conditional formatting.
Navigating Tables with Arrow Keys in Bubble
In this Bubble tutorial video, I'm going to show you how you can use the arrow keys to navigate up and down records in a repeating group. I wanted to record this video showing the new Bubble table element. However, that hasn't quite got the right data sources linking them into your workflows to make that possible. So this is using a repeating group and I can navigate up and down with my arrow keys and if I want to view Peter's record I navigate to Peter and I hit enter on my keyboard and I'm taken to Peter's page.
Planet No Code Membership Offer
Now before I launch into it, did you know that we have got the website PlanetNoCode.com where you can find Bubble tutorial videos that you cannot find on YouTube? We've got a fantastic membership offer going on right now, so head to PlanetNoCode.com. But back to the tutorial, let me show you how I've built this.
Setting Up Keyboard Shortcuts
So I have been using the air keyboard shortcuts by ZeroCode and I've got three of them on my page. That's because I've got one for enter. In fact, let me relabel this - this is enter, and then I've got two: I've got one for down and I've got one for up.
Implementing Workflows
For my workflows, let's go for up first. I have a custom state on the page and that is going to store an index value for the row that would currently have highlighted. Let me show you on the page: I've created a custom state called selected row and it's number and the default is one.
Visual Feedback for Selected Row
Then on my in my repeating group, I have a conditional statement saying when current cell's index (for example, this is cell one) is my custom state's selected row, I change the background color. That's how I give the visual feedback to the user of which row is selected.
Handling Up and Down Navigation
So when I hit up, all I need to do is take the custom state selected row and minus one. When I hit down, all I need to do is the custom state selected row plus one.
Challenge: Preventing Negative Index
Now you may have spotted something that I missed here, and if you have a solution leave it down in the comments. But I'll give you a hint: what happens if the custom state selected row is one and you minus one from one? You get zero. How would you prevent that? If you've got an idea how to do that, leave a comment below. I have an idea but I thought I'd leave you with a little challenge.
Handling Enter Key Press
And then enter - what happens when the user presses the enter key? This is the bit that can't currently be done with the Bubble table element. They just haven't got the ability to list through the entries of a table element; that's just not built in yet.
Selecting and Navigating to Specific Records
So this is my repeating group list of contacts and then I select item number and I match the number up to the custom state selected row. And so that way if the user has started on one and they've hit the down arrow, it's one plus one so they go to two. That updates our contact selected row to two and so this is then saying go to the second item in the repeating group and that's how I send them through to the page.
Conclusion
There you have it. That is how to add some handy keyboard shortcuts to a repeating group that you're presenting as a table so you can use the up and down and enter keys to help your users navigate around your app.
Ready to Transform Your App Idea into Reality?
Access 3 courses, 400+ tutorials, and a vibrant community to support every step of your app-building journey.
Start building with total confidence
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 400+ 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.
Valued at $80
Valued at $85
Valued at $30
Valued at $110
Valued at $45
14-Day Money-Back Guarantee
We’re confident this bundle will transform your app development journey. But if you’re not satisfied within 14 days, we’ll refund your full investment—no questions asked.
Can't find what you're looking for?
Search our 300+ Bubble tutorial videos. Start learning no code today!
Frequently Asked Questions
Find answers to common questions about our courses, tutorials & content.
Not at all. Our courses are designed for beginners and guide you step-by-step in using Bubble to build powerful web apps—no coding required.
Forever. You’ll get lifetime access, so you can learn at your own pace and revisit materials anytime.
Our supportive community is here to help. Ask questions, get feedback, and learn from fellow no-coders who’ve been where you are now.
Absolutely. If you’re not satisfied within 14 days, just reach out, and we’ll issue a full refund. We stand by the value of our bundle.
Yes, this is a special limited-time offer. The regular price is $350, so take advantage of the discount while it lasts!