react-datatable icon indicating copy to clipboard operation
react-datatable copied to clipboard

How can filter be implemented for the columns? I.e.; the column-specific search ?

Open FakhruddinNalawala opened this issue 4 years ago • 5 comments

I want to use filters in the column, however, while the documentation mentions filters, it doesn't show how to actually use it...

FakhruddinNalawala avatar Aug 14 '20 11:08 FakhruddinNalawala

@FakhruddinNalawala Well, i read the code and can give answer:

Seems like filter (or search) do search globally

@ashvin27 can I add functionality to search box with "keywords" like key:search value? I think this would be good addition to search box when in config you can change search box to extended mode.

mkikets99 avatar Feb 15 '21 10:02 mkikets99

Actually, I'm thing to add column specific search in this user can add a search for each column.

ashvin27 avatar Feb 15 '21 11:02 ashvin27

@ashvin27 you mean like this? https://datatables.net/examples/api/multi_filter.html

mkikets99 avatar Feb 15 '21 15:02 mkikets99

@mkikets99 Yes, correct. It would be in the footer or in the header anywhere the user wants.

ashvin27 avatar Feb 16 '21 09:02 ashvin27

Has column filters or a way to do an AND/OR filter been added yet?

huntersinclairtiv avatar Mar 07 '21 20:03 huntersinclairtiv