DataTables ColVis is not JQuery 2.x ready

DataTables ColVis is not JQuery 2.x ready

hubohubo Posts: 45Questions: 14Answers: 0
edited July 2013 in Bug reports
ColVis depends on [code]jQuery.browser[/code] object which is not defined in JQuery 2.x any more.

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Use the nightly from http://datatables.net/download/ or the version in github.

    It was fixed a while back, but just not yet released as I'm working on other things.

    Allan
  • hubohubo Posts: 45Questions: 14Answers: 0
    Great, now it works! But... When I hide any column the width of table shrinks, but then no more. Even if I show the column back or hide another one.

    Another problem is that oColVis is ignored/not working/not supported in $.fn.dataTable.defaults.
  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Can you link me to a page shown the problem please?

    Allan
  • hubohubo Posts: 45Questions: 14Answers: 0
    Here you are http://geonix.geotruck.sk/account/list
  • hubohubo Posts: 45Questions: 14Answers: 0
    edited July 2013
    I have noticed another problem on this example. When you drag a column header, it will enlarge it's height. This is ColReorder 1.1.0 (nightly). ColReorder 1.0.8 works fine so I will use this one.

    BTW ColReorder (1.0.8 and 1.1.0) has a small glitch. div.DTCR_pointer (seen when you draging a column header) is offset 1px to the left for the first column (leftmost).
This discussion has been closed.