colVis can't uncheck

colVis can't uncheck

blindmikeyblindmikey Posts: 3Questions: 0Answers: 0
edited May 2011 in General
I've for the most part successfully set up a DataTable (awesome plugin) - but the colVis extension only works in that I can turn on hidden columns, and even restore columns, but I can't hide or unselect columns!

I'm so close but can't wrap my head around this one.
The examples on the site work for me, but my code, for some reason doesn't. Even if I eliminate all the styles and other elements on the page.

Here's the page I'm having issue with:
http://blindmikey.com/dev/dt/

Any help is greatly appreciated!
Thanks,
-Michael

Replies

  • blindmikeyblindmikey Posts: 3Questions: 0Answers: 0
    For anyone else that has experienced this issue - I was using jQuery 1.6 - as soon as I downgraded to 1.5.2 - everything worked as expected.

    Thanks!
    -Michael
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Try jQuery 1.6.1 - they reverted the attr() and prop() API change that they made in 1.6 before I had time to look at addressing the issue in ColVis. ColVis uses attr('checked'), which I would have said was valid, since that is the HTML property - but it was obviously considered to be a property of the object - possibly one of the grey areas that made the reversion back to the old behaviour necessary.

    Allan
  • blindmikeyblindmikey Posts: 3Questions: 0Answers: 0
    Awesome,
    Thanks for getting back to me so quickly, you guys seriously rock!

    Thanks again,
    -M
This discussion has been closed.