You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the OnyxDataGrid with the pagination feature (DataGridFeatures.usePagination), the "items per page" (page size) selector completely disappears if the user selects a page size that is larger than the total number of items available. This creates a bad user experience, as the user is effectively locked into their selection and cannot change the page size back to a smaller value. As we are using chaching for this value currently we need to delete our cookies
Steps to Reproduce:
Implement an OnyxDataGrid and enable pagination using DataGridFeatures.usePagination.
Provide a dataset with a fixed number of items (e.g., 40 items).
Configure the itemsPerPage options (e.g., [10, 20, 50, 100]).
Initially, the grid displays the page size selector (e.g., set to 20).
Open the selector and change the items per page to 50.
[ x] I have checked that there is not already a bug report for my issue.
[ x] I confirm that are no sensitive information included in this bug report. e.g. credentials, internal project details (for employees of the Schwarz Group) etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Version
1.10.0
Description
When using the OnyxDataGrid with the pagination feature (DataGridFeatures.usePagination), the "items per page" (page size) selector completely disappears if the user selects a page size that is larger than the total number of items available. This creates a bad user experience, as the user is effectively locked into their selection and cannot change the page size back to a smaller value. As we are using chaching for this value currently we need to delete our cookies
Steps to Reproduce:
Note: I created a small example. Just set the pageSize to 100 here and you will see the problem
https://playground.onyx.schwarz/?onyxVersion=1.10.0#eNp9VE1P20AQ/SsjqxKgugm05YAbkGiaVu0BUMsNI1jswV6wd63dNcSy/N/7dh1CUlWcrPl8b97Muo9Om2by1HKURDObGdk4suzahiqhiuM0cjaNTlIl60YbRz19E078MDL/zsK1hm1M56pbvnhjcl3DNNdVW6u5VveyoIHuja4pjax0HzSS0+hLqlIVMi8XypmOjqlPFZHME1JtfccGGURK1JyQdUaqIjhEAXudMIQ2mVbWUQ4Cyarb1TX6nRojuolH3u2pYlW4MqGjIxpi2r2JSaqcl3t0fDICj01kjsIQofd0EBANtDAKc/vZRj63Z/jQu17mw208UkKhJzPsbTDKggY22RJjNjI8CRSvPEBPj9wlUMc3T6MYut9x5R0eJo1AeCsNeFtZp94OSdcb4M/SlReikEo4qRWw/l3bpLX8mrAbRJhOSTfeFFXVUadbyoQiGPqZXMmEEkNOU1biNJhKuGuhOpKOa0sNgg3YkTBMubRNJTrOw1Z9/IIN8KDV1WFMB/sxfcT3EN+D/f1rsN/S7n7F0ou0PYofcjYdDxVnCQPNAeUYFtFs8xgpKVnklVSMO+7J8dIltLNYChSA/iq2E5PRz3PdKkSdaZkGCJqs1keJvyxK1oymwJlN16BRjBcC0tjt5MFqhWcUtEyjTNeNrNicB0nxipLx1HwsaPor+Dxi2HCoKTl7/I//weLR+G1fgAKbJ38CLzEnTMFuDC/+nGHIjWCt87ZC9hvB32wxquc4pn1tVQ7aG3mB7c/wA8BDvLSLpWNlX4byRH3meKdphH/J/I3RX+l+mnwOddg9VLx5YuN7QkAvrHXR8BeorY1o
Beta Was this translation helpful? Give feedback.
All reactions