Help on DataTable globalFilter #886
Unanswered
chromaticmoe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So basically I have a DataTable where I want to use globalFilter, to filter all my columns. I've properly defined my columns in the columns.tsx, but two of these columns is actually an array of string, in which these two columns will fetch from my prisma model that has fields, that is relational to my other models. I hope it's not confusing. Basically, the globalFilter works but whenever I try to type in the input component the columns of the two array of string I've mentioned previously, it cannot search any.
Here's my column.tsx:
Here's my page.tsx, where I'm displaying my client.tsx, where it contains the data fetched from my prisma model:
I've tried looking it up and did some experimentation but I can't get to anywhere. Need some help here. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions