makes the pager invisible to enable paging with custom buttons
{ view:pager, id:"pagerA", apiOnly:true, size:50, group:5 }
Standard pager won't be displayed yet the paging functionality can still be connected to the necessary component.
In addition, here you should create JS or HTML button and attach 'paging' functions to them. Here is the 'Next Page' fucntion:
function next_page(){
$$("pagerA").select("next");
}