aoColumnDefs visibility with fnFooterCallback
aoColumnDefs visibility with fnFooterCallback
I've got some fields set as bVisible false
"aoColumnDefs" : { "bVisible" => false, "aTargets" =>[5] }
which works fine in the DT body, but when I'm using a footer callback the aiDisplay param list doesn't reflect the hidden columns.
function fn_datatable_footer( nRow, aaData, iStart, iEnd, aiDisplay )
Is it supposed to? Is there another way to get this information?
the values are iStart=0, iEnd=10, aiDisplay = [0,1,2,3,4,5,6,7,8,9]
"aoColumnDefs" : { "bVisible" => false, "aTargets" =>[5] }
which works fine in the DT body, but when I'm using a footer callback the aiDisplay param list doesn't reflect the hidden columns.
function fn_datatable_footer( nRow, aaData, iStart, iEnd, aiDisplay )
Is it supposed to? Is there another way to get this information?
the values are iStart=0, iEnd=10, aiDisplay = [0,1,2,3,4,5,6,7,8,9]
This discussion has been closed.
Replies
Allan