Filter table by invisible column
Filter table by invisible column
Here is a sample of my table and data within it: http://live.datatables.net/fatikuwi/5/edit
I'm filtering by date range using Date-Picker-Range plugin.
You can see there, that I'm filtering the date range by the 5'th column (start date).
My question: I still want to filter by this column, but I want it to be invisible (that is, filtering by start_date column, but not to show this column on the table). Is it possible?
Thanks in advance!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, use
columns.visibleto hide the column. Filtering will still work as Datatables uses its data cache for filtering.Kevin
Thank you.
After this change: http://live.datatables.net/fatikuwi/5/edit