Inidividual Column Searching on Hidden Columns
Inidividual Column Searching on Hidden Columns
andrew.gann
Posts: 8Questions: 3Answers: 0
in DataTables
I would like to perform individual column searching on hidden columns. I realize that the user will not be able to see the column for which they are searching, however, it is their request to be able to search the table based on multiple columns that are included in the table data but not shown in the interface. The initial search function is not enough as they want complex searching on more than one column. Is this possible?
This discussion has been closed.
Answers
I found a way to do this!!
I removed the visible: false ... I added a .hide to my css and hid them. manually created my input boxes in tfoot and gave them a class 'unhide' that I used to identify them and unhide them so that the data would be available in the table html but the columns are not visible!!
$('tfoot th.unhide').removeClass('hide');