Issue with paginationPageSizeSelector Implementation in AG Grid #3059
Unanswered
Swasthik-Jain
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @Swasthik-Jain, I reproduced the problem with the following code: ui.aggrid({
'columnDefs': [{'name': 'name', 'label': 'Name', 'field': 'name'}],
'rowData': [{'name': f'name{i}'} for i in range(100)],
'pagination': True,
'paginationPageSize': 20,
'paginationPageSizeSelector': [10, 20, 50, 100],
}) Indeed, the page size selector isn't displayed. And there is a JavaScript warning about an unrecognized option "paginationPageSizeSelector". It turns out this selector has only been added in AG Grid version 31.x.x, but NiceGUI still uses 30.2.0. We'll upgrade in NiceGUI 2.0, which is the next major milestone. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I'm currently working on implementing pagination in AG Grid, and I'm encountering difficulties with the paginationPageSizeSelector option. Despite my efforts, I haven't been able to get it working as expected.
I've set up the paginationPageSizeSelector to allow users to select the number of rows per page, but it doesn't seem to be functioning as intended.
I'm seeking guidance on how to correctly implement the paginationPageSizeSelector in AG Grid. Any insights, corrections, or alternative approaches to achieve this functionality would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions