Hi. I am having issues with setting up pagination for my wix repeater. This is the code I am using.
$w(“#html1”).expand()
$w(“#html2”).expand()
$w("#customers").onItemReady(($item, itemData) => {
$item("#text450").text = itemData.customerName;
$item("#text451").text = itemData.serviceProvider;
$item("#text453").text = itemData.services;
$item("#text455").text = itemData.servicePlan;
$item("#text457").text = itemData.orderStatus;
});
wixData.query("WL2X9Customers") // Database ID
.descending("_createdDate")
.limit(4)
.find()
.then((results) => {
$w("#customers").data = results.items; // Repeater ID)
}); }
I need to use that pagination bar, link it with my wix collection and be able to navigate through the data in my collection.