Paginator component description

Sets custom OverlaySettings.

overlaySettings: IgrOverlaySettings

Gets/Sets the current page of the paginator. The default is 0.

page: number

Gets/Sets the number of visible items per page in the paginator. The default is 15.

perPage: number

An accessor that sets the resource strings. By default it uses EN resources.

resourceStrings: IgrPaginatorResourceStrings

Sets custom options in the select of the paginator

selectOptions: number[]

Total pages calculated from totalRecords and perPage

totalPages: number

Sets the total records.

totalRecords: number

Returns if the current page is the first page.

get isFirstPage(): boolean

Returns boolean

Returns if the current page is the last page.

get isLastPage(): boolean

Returns boolean

Goes to the next page of the PaginatorComponent, if the paginator is not already at the last page. ``

nextPage(): void

Returns void

Goes to the desired page index. ``

paginate(val: number): void

Parameters

  • val: number

Returns void

Goes to the previous page of the PaginatorComponent, if the paginator is not already at the first page. ``

previousPage(): void

Returns void

onPageChange(args: CustomEvent<number>): void

Parameters

Returns void

onPaging(args: CustomEvent<IgrPageCancellableEventArgs>): void

Parameters

Returns void

onPagingDone(args: CustomEvent<IgrPageEventArgs>): void

Parameters

Returns void

onPerPageChange(args: CustomEvent<number>): void

Parameters

Returns void