FixedHeader and FixedColumns
FixedHeader and FixedColumns
lazzy
Posts: 21Questions: 8Answers: 0
Hello
how can i do combo FixedHeader thead and FixedColumns (leftcolumm:2)?
i want freeze header and 2 left columns
my setting is like this
{
fixedColumns: true,
fixedHeader: {
header: true,
footer: true
}
}
it works fine with footer but header doesn't work. Is this bug or i have add more config?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
The compatibility chart indicates that FixedHeader and FixColumns are not compatible:
https://datatables.net/download/compatibility
Kevin
But it works fine fo table footer tfoot. i think thead or tfoot is almost the same. can you guide me to fix this bug of i create custom extensions
Its not a bug. As Kevin indicates FixedHeader and FixedColumns cannot be used on the table same. Indeed more generally FixedHeader cannot be used on a scrolling table (
scrollX
etc) while FixedColumns must be used on a scrolling table.Allan
thanks for yours answer i think i active only footer
think i can write another custom scipt to create new table copy and change thead by tfoot from main table. when main table scroll it scroll also new table