ColVis incompatibe with jQuery 1.9.0
ColVis incompatibe with jQuery 1.9.0
stwi
Posts: 10Questions: 0Answers: 0
Hi,
When using DataTables in conjunction with jQuery 1.9.0 and the compatibillity checker "jquery-migrate-1.0.0.js" it will throw this warning when opening the column list with the checkboxes: "JQMIGRATE: jQuery.browser is deprecated".
While the "migrate" tool is included and active it will ensure that the ColVis code still works. However if you use ColVis with jQuery 1.9.0 but without the migrate tool you will observe that the code breaks: you can still open but not close the column list with the checkboxes.
Regards,
Stephan
When using DataTables in conjunction with jQuery 1.9.0 and the compatibillity checker "jquery-migrate-1.0.0.js" it will throw this warning when opening the column list with the checkboxes: "JQMIGRATE: jQuery.browser is deprecated".
While the "migrate" tool is included and active it will ensure that the ColVis code still works. However if you use ColVis with jQuery 1.9.0 but without the migrate tool you will observe that the code breaks: you can still open but not close the column list with the checkboxes.
Regards,
Stephan
This discussion has been closed.
Replies
Im getting: Uncaught TypeError: Cannot read property 'msie' of undefined
This is because $.browser is deprecated in 1.9.0:
See http://stackoverflow.com/questions/14379681/jquery-quicksand-plugin-uncaught-typeerror-cannot-read-property-msie-of-undef
for more info.
Comment lines 856 to 859 in ColVis.js
//if ( jQuery.browser.msie && jQuery.browser.version == "6.0" )
//{
// that._fnDrawCallback();
//}
Waiting for Allan to perm fix this.
Allan
http://jsfiddle.net/vLGh4/
Allan