Filtering Hidden Column Data
-
When I hide columns in a data table and then filter, the filter ignores hidden column data.
This seems a little unintuitive - although I am ready to be convinced otherwise.
Is there a way to filter on all data, visible and hidden?
Perhaps there is a simple way, I just cannot figure it out right now.
(I am using 0.17.15)
-
@johnorford1 You could use your custom filter method.
https://quasar-framework.org/components/datatable.html#Custom-Filter-Method
-
yeh I suppose, just seems like reinventing the wheel for pretty common (?) use-case…
-
If you think it is a bug, report it with a fiddle on Github.
Scott
-
I suppose, that’s why I posted here - does anyone else think this is a worthy bug?
-
Hi, I’m not sure that we could call it a bug. It is more of a preference in user experience. Should a user be able to filter data that he has previously hidden?
Take a look at this jsfiddle, I think it would be confusing for a user if he typed “doe” and “John” would show in the table or “Hanz” and Peter would show.Maybe you could make that optional and allow users to choose “Search hidden columns” and use custom filter method to do so.