supportedPageSizes property in Pagination Component

cancel
Showing results for 
Search instead for 
Did you mean: 
anshu_kumar
Active Member II

supportedPageSizes property in Pagination Component

Hi,

I am using ADF 2.1.0 and ACS 5.2.0 and using Pagination Component to integrate with the Document List component.

Pagination works fine. However, when I try to set the supportedPageSizes property in the following way, it doesn't work!

It lists the default sizes only.

<adf-pagination
   [target]="documentList"
   [supportedPageSizes]="'[5, 10, 25, 50, 100]'">
</adf-pagination>

In the Pagination Component article, it is mentioned that it is added in v2.0.0 and last reviewed on 2018-04-16

Am I doing it correctly or is this a bug or was this property added on later release? Please advise. 

4 Replies
eugenio_romano
Alfresco Employee

Re: supportedPageSizes property in Pagination Component

Hi can you try to update your project to 2.3.0 (should be simple, just change the version of the package in your package.json) and check if the problem is still present?

anshu_kumar
Active Member II

Re: supportedPageSizes property in Pagination Component

Okay - will surely try that and let you know. Thanks Eugenio.

eugenio_romano
Alfresco Employee

Re: supportedPageSizes property in Pagination Component

has the update solved your problem?

anshu_kumar
Active Member II

Re: supportedPageSizes property in Pagination Component

Yes. It has. Thank you! Smiley Happy