Hello Klaudeta, First of all, I would like to thank you for your "Grid Pag

Hello Klaudeta,

First of all, I would like to thank you for your “Grid Pagination” add-on, however, I faced with some issue in new version (v. 2.0.0), I’m getting “(TypeError):$0.observePageCount is not a function” once I try to render a
paginable greed with such parameters:

PaginatedGrid<Test> grid = new PaginatedGrid<>();
        grid.setItems(Test.findAll());
        grid.setPageSize(3);
        grid.setPaginatorSize(5);

where Test.findAll() returns List of Test entities. Because of this error grid paginator works incorrectly, so that page numbers don’t displayed. I’m using Vaadin 14.0.0.rc7.

Could you tell me, how can I fix this issue? Thank you in advance.

Best regards,
Eugene

Hi,

One reason might be that you are running Vaadin in bower mode. If that’s the case you should use the 1.0.1 version.

I would also suggest to move to the latest Vaadin version (14.0.3)

Regards, Klaudeta

Please accept my sincere appreciation for your help.

Yes, you decision helped me. I set the last vaadin version, and my grid came to life.

Best wishes