[Datagrid]: Datagrid does not remember global filter state after re-rendered with refreshed data #5434
Closed
2 tasks done
Labels
component: Datagrid
role: dev
Sev 3
Visible or noticeable to users but does not impede functionality. Has a workaround.
status: waiting for author 💬
type: bug 🐛
Something isn't working
type: enhancement 💡
New feature or request
Package
Carbon for IBM Products
Description
After re-rendering Datagrid table with the refetched row data, the current global filter state is lost. E.g. I have row A, B, C, and D. I filtered with B. It shows only B row. But as I do a refetch on the data and reload the table with row A, B, C and D, the filtering is lost. I see all rows instead.
Component(s) impacted
Included a link to the code sample as well.
Browser
No response
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
v1.73.1
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Product/offering
IBM Cloud Projects
CodeSandbox or Stackblitz example
https://stackblitz.com/edit/github-68tdtk?file=src%2FExample%2Futils%2FExampleAction.jsx,src%2FExample%2FExample.jsx,package.json
Steps to reproduce the issue (if applicable)
To reproduce:
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: