-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
PrimereactDatatable: Get current table filters #6501
PrimereactDatatable: Get current table filters #6501
Comments
Can you provide a stackblitz link please ? |
@Rekl0w that should be a Feature Request. OPs question from the discussion is:
It's not possible atm correct? So reproducer would be PrimeReact Doc Advanced Filter |
Yes I think we need to expose the current filters in the |
PR submitted to expose current Filter and Sorts in the |
@melloware when setFilterMeta is called, isn't it supposed to trigger onValueChange event in the DataTable? I'm using setFilterMeta and I was expecting this data change event to be triggered but it is not. |
@faelperetta check the code and see what its doing. I just exposed those methods to the external interface didn't change their behavior. |
Describe the bug
Hello,
I am trying to allow the user data filtering via URL in primereact datatable.
I am working on a URL generator button that shows a popup with the URL that matches the current selected filters.
I opened this enhancement request and was told to open an issue:
[(https://github.com/orgs/primefaces/discussions/1366
)]
Please allow getting the current selected filters from the table at any given time.
Thank you.
Reproducer
No response
PrimeReact version
10.6.3
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
chrome, edge
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: