ColVis with jQuery theming - Table width shrinks when hiding col's...
ColVis with jQuery theming - Table width shrinks when hiding col's...
Hey
Posts: 4Questions: 0Answers: 0
Hi
Itried ti use "ColVis example with jQuery theming" when hiding al column (even on http://datatables.net/release-datatables/extras/ColVis/theme.html) the table becomes a width smaller than "top" and "button". What is to do that the table width becomes the same width as "top" and "button" when hiding columns?
Thank you for your help...
Hey
Itried ti use "ColVis example with jQuery theming" when hiding al column (even on http://datatables.net/release-datatables/extras/ColVis/theme.html) the table becomes a width smaller than "top" and "button". What is to do that the table width becomes the same width as "top" and "button" when hiding columns?
Thank you for your help...
Hey
This discussion has been closed.
Replies
Thanks very much for bringing this up. I've done a bit of debugging and found an error in the way the column widths were calculated. Could you possibly try the 1.7.6.dev version I've just committed and is available on the downloads page: http://datatables.net/download/ ? It seems to fix the problem for me - would be good to get confirmation :-)
Thanks,
Allan
Confirmed - thank you - works great in 1.7.6 dev version... - hope it will reach production level ;-)
Best for table-dev i have seen ...
Thanks
Hey
Thanks for the confirmation :-). That fix will be in the next release then.
Regards,
Allan
I downloaded 1.7.6 a few days ago. (just amazing work, btw!)
I am seeing what Hey saw... once a column is hidden the table shrinks to a particular size, but from then on it remains at that width, even when you hide (or unhide) more columns.
Oh, I am using "Chrome 12.0.712.0 dev"
Just thought I would let you know.
cheers!
steve
Thanks for the heads up. I'm planning to do a bit of experimental work with hidden columns and DataTables soon which will hopefully help - at the moment my early prototyping shows that Webkit browsers do something odd - but I'll try to get to the bottom of it :-).
Regards,
Allan
Just let me know if and when you want me to try anything out!
steve