cancel
Showing results for 
Search instead for 
Did you mean: 

supportedPageSizes property in Pagination Component

anshu_kumar
Star Contributor
Star Contributor

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 4

eugenio_romano
Elite Collaborator
Elite Collaborator

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?

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

has the update solved your problem?

Yes. It has. Thank you! Smiley Happy