Resizing the table instead of the columns
Resizing the table instead of the columns
hey allan,
when hiding/showing columns I'm having data get a bit whacky in its presentation thanks to the columns.adjust()
. If I have 10 columns that stretch 1000px and remove 5 of them then the 5 that are left all stretch to fill the 1000px instead of the 1000px scaling down to 500px (the numbers of course wouldn't be this perfect, but it paints the picture).
I have scrollX enabled and have attempted using autowidth
, assigning widths during my columnDefs
creation both directly and by way of class association.
Can provide a debug if need be, just lemme know what details I can fill in and I will.
Thanks!
This question has an accepted answers - jump to answer
Answers
Could you try the nightly version of DataTables. If that doesn't fix it, then yes, I would need a link to a test case showing the issue.
Allan
cool cool, i'll try it out and post accordingly. thanks
Nightly build to the rescue! Thanks a bunch-