Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine filtering and loadNode #402

Open
StanislavMamulin opened this issue Dec 14, 2023 · 0 comments
Open

Combine filtering and loadNode #402

StanislavMamulin opened this issue Dec 14, 2023 · 0 comments

Comments

@StanislavMamulin
Copy link

I want to do filtering for expandable nodes that are loaded asynchronously via loadNode.

Version: @inovua/reactdatagrid-enterprise

What you did:
Create ReactDataGrid with loadNode and defaultFilterValue properties.
The basis was the code for loadNode taken from the official site:
loadNode

Added only defaultFilterValue={defaultFilterValue} taken from FILTERING

What happened:
Filtering by static subnodes works fine, but it doesn't see nodes fetched from loadNode.

  • General view of the table with expanded nodes:
  • Filtering by the word "store", the filtered one shows dynamic nodes as well:
  • Filtering on the word "First", it says that it was not found:

Reproduction repository:
Demo (Codesandbox)

Problem description:
I think that if dynamic loaded nodes are displayed, filtering should work on them too.

Suggested solution:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant