We are using datasets to show information for room hires, the dataset view is set to show items per page, on busy days this can go over multiple pages. Is it possible to add a page number to the dataset view to show page numbers i.e. Page 1 of 3?
var tpages = document.getElementById(“DataSetTableContainer”).getAttribute(“totalpages”);
function PageNo()
{
if (tpages >= 1) {
var div = document.createElement(“div”)
div.setAttribute(“class”,“cycle-pager”);
document.getElementById(“DataSetTableContainer”).prepend(div)
}
}
PageNo();