Paginator component description
Properties
Section titled "Properties"overlaySettings
Section titled "overlaySettings"Sets custom OverlaySettings.
overlaySettings: IgrOverlaySettings Gets/Sets the current page of the paginator. The default is 0.
page: number perPage
Section titled "perPage"Gets/Sets the number of visible items per page in the paginator. The default is 15.
perPage: number resourceStrings
Section titled "resourceStrings"An accessor that sets the resource strings. By default it uses EN resources.
resourceStrings: IgrPaginatorResourceStrings selectOptions
Section titled "selectOptions"Sets custom options in the select of the paginator
selectOptions: number[] totalPages
Section titled "totalPages"Total pages calculated from totalRecords and perPage
totalPages: number totalRecords
Section titled "totalRecords"Sets the total records.
totalRecords: number Accessors
Section titled "Accessors"isFirstPage
Section titled "isFirstPage"Returns if the current page is the first page.
get isFirstPage(): boolean Returns boolean
isLastPage
Section titled "isLastPage"Returns if the current page is the last page.
get isLastPage(): boolean Returns boolean
Methods
Section titled "Methods"nextPage
Section titled "nextPage"Goes to the next page of the PaginatorComponent, if the paginator is not already at the last page.
``
nextPage(): void Returns void
paginate
Section titled "paginate"Goes to the desired page index. ``
paginate(val: number): void Parameters
- val:
number
Returns void
previousPage
Section titled "previousPage"Goes to the previous page of the PaginatorComponent, if the paginator is not already at the first page.
``
previousPage(): void Returns void
Events
Section titled "Events"onPageChange
Section titled "onPageChange"onPageChange(args: CustomEvent<number>): void Parameters
- args:
CustomEvent<number>
Returns void
onPaging
Section titled "onPaging"onPaging(args: CustomEvent<IgrPageCancellableEventArgs>): void Parameters
Returns void
onPagingDone
Section titled "onPagingDone"onPagingDone(args: CustomEvent<IgrPageEventArgs>): void Parameters
- args:
CustomEvent<IgrPageEventArgs>
Returns void
onPerPageChange
Section titled "onPerPageChange"onPerPageChange(args: CustomEvent<number>): void Parameters
- args:
CustomEvent<number>