Skip to content

onPaginationChanged event of Pagination service not found in latest version(4.1.4) #973

Discussion options

You must be logged in to vote

all events are still in place, the only difference is that they are Custom Events now and the arguments might be in a different place in the event. I just tried and it works

(onPaginationChanged)="paginationChanged($event.detail)"
paginationChanged(args: ServicePagination) {
    console.log('paginationChanged', args);
}

is giving this console log

paginationChanged {pageCount: 105, pageNumber: 2, pageSize: 5, pageSizes: Array(8), totalItems: 525, …}

You should take a look at the Grid & DataView Events Wiki

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ghiscoding
Comment options

You must be logged in to vote
1 reply
@ghiscoding
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants