Column filtering support #23
Replies: 2 comments 4 replies
-
I appreciate the invite to chat here, and I totally agree with not being able to accommodate every use case. That being said, I think it would be valuable to have a multi-column search baked into the table, as I think it would be a bit of a pain as an end user to nicely integrate multi-column search into the table visually. I'm pretty new to webdev though, so I could just be not thinking of an obvious solution. For the website I'm building (for a video game community), I had envisioned having a multi-column search where there was a little button in each column header, to the left of the sort button, where users could click and then a modal would pop up with search options in it for that column. A nice second option would be just a text input beneath the column name where users could type in a search string. |
Beta Was this translation helpful? Give feedback.
-
Hey there 👋 Since this feature is not yet implemented, is there a way for me to render a text input in the table's first row so I can use it to search/filter by that attribute? |
Beta Was this translation helpful? Give feedback.
-
As discussed in Mantine's Discord channel,
In my experience, in most real-life projects you’d have to deal with filtering in parallel with pagination, sorting, asynchronous data loading, etc., and a simple Excel-like column filtering implementation wouldn't bring much value.
However, it seems like a lot of people would like to see more column filtering support baked into this library.
So, let's discuss it here; let's try to define and implement a minimal set of useful features and see how we could expand them in time.
As I already mentioned on a number of occasions, so far I am the only developer of
Mantine DataTable
, it's one of my dearest open-source projects and I enjoy working on it, but I could also use your help with coding new valuable features.I'm more than open to pull-requests :-)
Beta Was this translation helpful? Give feedback.
All reactions