apiOnly

makes the pager invisible to enable paging with custom buttons

boolean apiOnly;

Example

{ view:pager, id:"pagerA", apiOnly:true, size:50, group:5 }

Related samples

Details

The apiOnly property allows you to use the pager functionality without pager itself. It means that standard pager won't be displayed yet the paging functionality can still be connected to the necessary component.

For example, here you can create JS or HTML button and attach 'paging' functions to them. Here is the 'Next Page' function:

function next_page(){
  $$("pagerA").select("next");
}
See also
  • Articles
  • Back to top