adf-datatable with pagination

cancel
Showing results for 
Search instead for 
Did you mean: 
anakin59490
Established Member II

adf-datatable with pagination

Jump to solution

Hi,

is-it possible to add pagination to adf-datatable component ?

this is what i try :

My ts file is in attached filed

When i test i got this Error :

line 73 is about the last data-column (see 1rst picture). I think the problem comes from another thing because without paginator component it works.

Thank you in advance

1 Solution

Accepted Solutions
eugenio_romano
Alfresco Employee

Re: adf-datatable with pagination

Jump to solution

I guess you can not use the target as property, in this case, the target has to be a component that implements the navigation interface and the datatbale is not.

View solution in original post

2 Replies
eugenio_romano
Alfresco Employee

Re: adf-datatable with pagination

Jump to solution

I guess you can not use the target as property, in this case, the target has to be a component that implements the navigation interface and the datatbale is not.

wolf354
Member II

Re: adf-datatable with pagination

Jump to solution

Yes, it is much easier than what I was looking and clearly the support team and the devs working on Alfresco don´t seem to have much contact Smiley Tongue

Import a Pagination element and apply it to the the same source as your datatable.
Check this example https://github.com/AlfrescoArchive/adf-examples/blob/master/ADF_1.8.0/adf-demo-partner-summit/app/co... + the html.

I got it working, and merry christmas Smiley Wink