-
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
TreeTable: Unable to custom columns' filter #5382
Comments
@melloware There is any work-around that will make us customize TreeTable filters and calls primereact filters function? Thank you for your response! |
I will take a look. |
https://codesandbox.io/p/sandbox/primereact-demo-forked-dc785t?file=%2Fsrc%2FApp.js%3A137%2C24 Works for DataTable but not TreeTable. DataTable uses ObjectUtils.getJSXElement() and TreeTable does not.
|
I looked and TreeTable is definitely missing a lot compared to Datatable as far as custom filtering goes |
BTW this code looks odd in TreeTable.js
|
Did anyone manage to find a workaround for this bug ? (Beside filtering the data itself before giving it to TreeTable Component) |
is there any work around available as i am also facing this issue. |
I ended up forking the code and making my own custom build. |
@mtsmith why not submit a PR? Wouldn't that be easier than maintaining your own custom build? |
I need the fix asap so I can get other features working. |
Would any of the people with a solution be willing to create a PR? |
I am also facing the same issue. The method is not getting called. |
@iemi111 @Mrudula-Nemani if no open source community member has submitted a PR you would have to look to PrimeReact PRO support or financially sponsor the one time fix https://primereact.org/support/ |
TreeTable: Unable to custom columns' filter primefaces#5382
TreeTable: Unable to custom columns' filter primefaces#5382
TreeTable: Unable to custom columns' filter #5382
Describe the bug
Using the columns'
filterElement
prop is not working. The passed function is not called.Reproducer
https://codesandbox.io/p/sandbox/primereact-demo-forked-7j2jpq?file=%2Fsrc%2FApp.js%3A40%2C68-40%2C81
PrimeReact version
10.0.9
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: