Hi,
I want to hide a column (but still filter on it).
The filter works (oTable.fnFilter( 'Active', 0 );), but the column is not hiding. It is always shown (see below).
HTML
I am following the documentation here; why is this column not being hidden?
Thanks,
Nathan
I want to hide a column (but still filter on it).
The filter works (oTable.fnFilter( 'Active', 0 );), but the column is not hiding. It is always shown (see below).
{ "bVisible": false, "mData": "EActive", "mRender": function(val, type, row) { return (val == 1) ? "Active" : "Hidden"; } },
HTML
<table id="xx" class="table table-bordered table-striped table-hover"> <thead> <tr class="tdSelect"> <td></td> <td style="width:25%"></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr><th></th> <th>n</th> <th>r</th> <th>o</th> <th>p</th> <th>e</th> <th>d</th> </tr> </thead> </table>
I am following the documentation here; why is this column not being hidden?
Thanks,
Nathan