Open flannanl opened 2 months ago
We have same issue and pagination is affected as well. The pagination state is reseted when data is re-rendered.
Hey @flannanl, do you have another similar issue that is open regarding this?
Hey @flannanl, do you have another similar issue that is open regarding this?
No, I don't.
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