I want to display maximum 40 item on a single page. I have more that 200 item and when I click on load more button it loads 5 items at a time till the collection end. And after loading more that 50 item on a single page the page respond slowly and also it take so much time to load
So how can I limit dataset so that it only display 40 items and when I click next page it display next 40 item
I think we should use load more button and pagination bar at a single page but how do I limit load more button so it only display 40 item and then disappear.