-
-
Notifications
You must be signed in to change notification settings - Fork 185
Provide callbacks for filter/search capabilities on table column #548
Comments
Hey everyone. Just wondering if this still needs help? If so I would love to contribute. Thanks. |
Sure @jnolan97! Shall I give it to you? |
Sure that would be great! |
Hi @blestab @fox1t @tehkapa @jackcmeyer @morrme, could I please take this on? |
@tehkapa yeah I almost have it done. Sorry I didnt respond sooner. Thanks. |
@jnolan97 Just checking in: How is this one going? |
@tehkapa @jackcmeyer Hi, I saw this issue has been here for over a year without much progress. I'm very green with TS and new to open source dev in general, but could I take this on? I played around with it. Is this kind of what we're after? (the styling and positioning needs adjustment obviously. I'll probably move it above the table. Oh and this is a button, I'll use a badge.) Screen.Recording.2021-11-14.at.6.03.26.PM.mov |
@henryliang2 Sure! |
Hi @tehkapa , is there a consideration to upgrade the version of Thanks! |
@henryliang2 unfortunately there are some tasks to do. as you can see the update creates problems #896 |
Hi @tehkapa , I see, thanks. I'll make do with a button for now. Do I need to be added as a contributor? Can't seem to push a commit on a new branch. |
no, you simply have to create a new PR/branch with the updated dependency |
Hi @tehkapa , is this issue still open. |
I think so. Unfortunately, I don't have much visibility on the project anymore |
Ok @tehkapa, thankyou for information, |
🚀 Feature Proposal
There should be the ability to filter/search for data by column. The Table component will not actually be responsible for doing the filtering, but rather expose callback such as
onFilterChange
that will include all filter criteria being currently applied to the table.When a filter is chosen, there should be a badge or label that gets added above the table that indicates that a filter is being applied. The badge should have a close button in it, that when clicked, removes the filter criteria.
For columns that have a defined list of values (such as an enum like diagnosis status), the filter list should be static and not allow for any value to be typed in.
For columns that don't have as nice of structured data (such as patient name), the filter box should be a text field that allows any value to be entered.
Technical Notes
The text was updated successfully, but these errors were encountered: