I'm learn to use ADF components and now I'm tring to paginate a data table, this is my html angular code.
The pagination don't appear on browser, in the html code I have an empty pagination div.
<adf-datatable [data]="data" #personList> <data-columns> <data-column key="id" title="id" [sortable]="false"> </data-column> <data-column key="firstName" title="Nome" [sortable]="true"> </data-column> <data-column key="lastName" title="Cognome" [sortable]="true"> </data-column> </data-columns> </adf-datatable> <adf-pagination [pagination]="pagination" [target]="personList" [supportedPageSizes]="sizes" (changePageNumber)="onChangePageNumber($event)"></adf-pagination>
Hi @danny36
Without attempting pagination, does this datatable populate & display data as expected?
Yes the datatable display the data. If I use adf-document-list component the pagination works.
someone can help me to add pagination component to datatable? thanks.
I have add <adf-pagination> to html file but I got this erro:
Type 'DataTableComponent' is missing the following properties from type 'PaginatedComponent': pagination, updatePagination
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.