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

TreeTable/DataTable: Callback similar to onFilter for global search #2028

Closed
aniketWindows opened this issue May 10, 2021 · 3 comments
Closed
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add

Comments

@aniketWindows
Copy link

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I have checked the documentation and also the code present in TreeTable.js, but I am not able to find any callback similar to onFilter which we can use for globalFilter, it would be great if you can add a callback for it where we can use custom filter for global search

I'm submitting a ... (check one with "x")

[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.

https://codesandbox.io/s/qjx332qq4

Current behavior

Expected behavior

Minimal reproduction of the problem with instructions

Please tell us about your environment:

  • React version:
  • PrimeReact version:
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]
@mcandu mcandu added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Dec 9, 2021
@omansak
Copy link

omansak commented Jun 17, 2022

yes its not bug . React DataTable just need if filter state changes,trigger onValeuChanged

@melloware
Copy link
Member

@omansak are you saying this is not an issue and should be closed or its not the "real" issue. Can you elaborate?

@melloware melloware changed the title Dont have a callback similar to onFilter for global search TreeTable/DataTable: Don't have a callback similar to onFilter for global search Jun 17, 2022
@melloware melloware changed the title TreeTable/DataTable: Don't have a callback similar to onFilter for global search TreeTable/DataTable: Callback similar to onFilter for global search Jun 17, 2022
@melloware
Copy link
Member

See Global Search example: https://primefaces.org/primereact/treetable/filter/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

4 participants