Hiding a colum
Hiding a colum
nskwortsow
Posts: 120Questions: 0Answers: 0
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).
[code]
{
"bVisible": false,
"mData": "EActive",
"mRender": function(val, type, row)
{
return (val == 1) ? "Active" : "Hidden";
}
},
[/code]
HTML
[code]
n
r
o
p
e
d
[/code]
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).
[code]
{
"bVisible": false,
"mData": "EActive",
"mRender": function(val, type, row)
{
return (val == 1) ? "Active" : "Hidden";
}
},
[/code]
HTML
[code]
n
r
o
p
e
d
[/code]
I am following the documentation here; why is this column not being hidden?
Thanks,
Nathan
This discussion has been closed.
Replies
Please post a link to an example test case which doesn't work.
Allan