fires before the page is changed
new_page | number | the index of the new page |
old_page | number | the index of the changed page |
pager:{
container:"paging_here",
size:10,
group:5,
on:{
onBeforePageChange:function(new_page, old_page){
console.log(new_page, old_page)
}}
}