Fixed Header with Fixed Column
Fixed Header with Fixed Column
chrislo
Posts: 7Questions: 4Answers: 0
Now fixedheader.js has a new plugin. how can i achieve this?
I need a column and the header to be fixed.
This discussion has been closed.
Answers
$('#example').DataTable( {
fixedHeader: true,
fixedColumns: true
} );
No sorry. As you'll be able to see in the compatibility chart the FixedHeader and FixedColumns plug-ins cannot currently be used at the same time.
FixedHeader did used to have the ability to fix a column in place, but that was a major performance hit, so it was removed in the latest major release. It is not likely that feature will be added back into FixedHeader, although ultimately both FixedHeader and FixedColumns should work together. I can't say when I'll get time to implement that though I'm afraid.
Allan