Filtering with hidden columns
Filtering with hidden columns
I'm using DataTables in combination with the ColVis plugin to dynamically show/hide columns. All data gets fetched from server with an AJAX request.
I've also implemented individual column filtering. This works well, until I hide a column from display, in which case the column indexes get all screwed up.
I've searched for this on the forum and found out about the fnColumnIndexToVisible and fnVisibleToColumnIndex plug-ins, but I'm not sure which one of those I'm supposed to use, and how to implement it. Any help would be very much appreciated!
I've also implemented individual column filtering. This works well, until I hide a column from display, in which case the column indexes get all screwed up.
I've searched for this on the forum and found out about the fnColumnIndexToVisible and fnVisibleToColumnIndex plug-ins, but I'm not sure which one of those I'm supposed to use, and how to implement it. Any help would be very much appreciated!
This discussion has been closed.
Replies
Allan