Columns hide way too early when collapsing table with the Responsive & FixedHeader extension
Columns hide way too early when collapsing table with the Responsive & FixedHeader extension
I'm using the Responsive extension and I'm just trying out the FixedHeader one. Now I experienced a bug:
When the fixed header is shown and you start to drag the table smaller, the columns disappear too early.
Steps to reproduce:
1. visit the offical example: https://datatables.net/extensions/fixedheader/examples/integration/responsive.html
2. resize the window so all columns are visible
3. scroll down a bit so the fixed header becomes active
4. start resizing the window horizontally (make it smaller)
You will see there will be only the first column left soon. Then, when you resize the window to become bigger, it needs to be really wide for the other columns to appear again (if they appear again at all).
Please tell me if you're able to reproduce this behaviour and what could be done about it.
This question has an accepted answers - jump to answer
Answers
Thanks for flagging this up. It looks like it might be in some way related to the FixedHeader aspect forcing the width since this doesn't happen without FixedHeader. I'll post back when I have had a chance to look into it.
Allan
Fixed here. I'll tag and release the update shortly.
Note that the example for Responsive and FixedHeader is now available here.
Allan
Thank you Allan!