HubDB - Certain number of rows and More button

Highlighted
Regular Contributor

Hello.

Is there any way to print only certain number of rows (I guess I can use limit filter for that) and hide other rows for example like under More button?

Reply
0 Upvotes
2 Replies 2
Top Contributor | Platinum Partner

You could list them all and then apply a CSS class to hide those that you do not want to initially display. The 'view all' button could then remove the hidden class via JS.

 

--
Bryan Schneidewind
Manager of Web Development
Weidert Group

Reply
0 Upvotes
Occasional Contributor

For the More button functionality you could write custom JavaSctipt using this codepen example for inspiration, or use a plugin like infinite scroll which gives you the More button functionality out-of-the-box.

 

Hope this helps!

 

--

Dave Roma | Drive Growth Agency