With aoColumns, bVisible only hides tbody columns
With aoColumns, bVisible only hides tbody columns
leurk
Posts: 5Questions: 0Answers: 0
Hello.
If I use following metadata to generate table, bVisible only hides tbody id column leaving thead column untouched.
aoColumnDefs visibility works as expected, but I want true per-field metadata rather than metadata with accompanying Defs block.
I use version 1.7.6 of DataTables.
Thanks.
Alexey
[
{
"bVisible":"false",
"sName":"id",
"sTitle":"id",
"sType":"string"
},
{
"sName":"date",
"sTitle":"date",
"sType":"date"
},
{
"sName":"cats",
"sTitle":"cats",
"sType":"string"
}
]
If I use following metadata to generate table, bVisible only hides tbody id column leaving thead column untouched.
aoColumnDefs visibility works as expected, but I want true per-field metadata rather than metadata with accompanying Defs block.
I use version 1.7.6 of DataTables.
Thanks.
Alexey
[
{
"bVisible":"false",
"sName":"id",
"sTitle":"id",
"sType":"string"
},
{
"sName":"date",
"sTitle":"date",
"sType":"date"
},
{
"sName":"cats",
"sTitle":"cats",
"sType":"string"
}
]
This discussion has been closed.
Replies
Allan