Freezing caption when using FixedColumns extension
Freezing caption when using FixedColumns extension
smelcher
Posts: 45Questions: 13Answers: 0
I am using the FixedColumns extension. When I scroll to the right, the caption scrolls off the screen. Is there a way to fix the caption?
Answers
Is this a duplicate of your other thread?
Colin
The other thread is using the same plugins but the question is different. When I scroll the table, I'd like the Caption to remain in place. Earlier versions of Datatables seemed to do this.
Here is a little test case showing that issue.
The problem is that we've changed how the fixed columns work to use
position: sticky
. So now the caption really is scrolling with the rest of the table as it would if the whole table was scrolling.The only way to work around at that the moment would be to use a
div
outside of the table. I don't think there is a way to make a caption sticky as well. Sorry.Allan
No problem. I appreciate the response.