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
Changing to a page then using a column filter in EDS Data Grid results in an empty message when the result count is less than pagination multiplied by the page selected. For instance, a pagination of 10 on page 2 with a result count of 1, will display an empty result because there are only enough results for page 1.
Steps to reproduce the bug
Steps to reproduce bug assumes pagination 10 and result count 1.
Navigate to page 2
Select something from the column filter, giving less than pagination as result count
Observe that the grid displays empty message and 11 - 20 of 1 items
Select page 1 to view the actual result
Expected behavior
The user expects to see a result from the filtering they do. Expected behavior is that the grid returns to page 1 given that there are less results than pagination, and therefore will not be more than 1 page.
Specifications
Version: "@equinor/eds-data-grid-react": "0.6.2"
Browser: Chrome
OS: Windows 11
Additional context
Add any other context or screenshots about the bug. An example in CodeSandbox is very helpful
The text was updated successfully, but these errors were encountered:
Describe the bug
Changing to a page then using a column filter in EDS Data Grid results in an empty message when the result count is less than pagination multiplied by the page selected. For instance, a pagination of 10 on page 2 with a result count of 1, will display an empty result because there are only enough results for page 1.
Steps to reproduce the bug
Steps to reproduce bug assumes pagination 10 and result count 1.
Expected behavior
The user expects to see a result from the filtering they do. Expected behavior is that the grid returns to page 1 given that there are less results than pagination, and therefore will not be more than 1 page.
Specifications
Additional context
Add any other context or screenshots about the bug. An example in CodeSandbox is very helpful
The text was updated successfully, but these errors were encountered: