ColVis with jQuery theming - Table width shrinks when hiding col's...

ColVis with jQuery theming - Table width shrinks when hiding col's...

HeyHey Posts: 4Questions: 0Answers: 0
edited January 2011 in Bug reports
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

Replies

  • HeyHey Posts: 4Questions: 0Answers: 0
    .... IE 8.0.600 Problem (works fine on Firefox)....
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi Hey,

    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
  • HeyHey Posts: 4Questions: 0Answers: 0
    Hello Allen
    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
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi Hey,

    Thanks for the confirmation :-). That fix will be in the next release then.

    Regards,
    Allan
  • nadgerznadgerz Posts: 2Questions: 0Answers: 0
    Hi 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
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi 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
  • nadgerznadgerz Posts: 2Questions: 0Answers: 0
    Hi Allan,

    Just let me know if and when you want me to try anything out!

    steve
This discussion has been closed.