Pagination
Introduction
Demo
import type { BasePaginationComponent, PaginationService, PubSubService, SlickGrid } from '@slickgrid-universal/common';
export class CustomPager implements BasePaginationComponent {
/** initialize the custom pagination class */
init(grid: SlickGrid, paginationService: PaginationService, pubSubService: PubSubService, translaterService?: TranslaterService) {}
/** dipose (aka destroy) to execute when disposing of the pagination (that is when destroying the grid) */
dispose() {}
/** render the custom pagination */
render(containerElm: HTMLElement) {}
}Last updated