Show /Hide Column Check box did not work properly

Show /Hide Column Check box did not work properly

sendilsendil Posts: 1Questions: 0Answers: 0
edited July 2013 in Bug reports
Recently i implemented Show/Hide Columns . I have 1.9 version of DataTable and jquery 2.0.

It works great first time. I can able to uncheck columns and it removes the column from the grid. But when i check the checkbox it adds the column to the grid but check box never updated to Checked. After that i cannot able to uncheck that column.

After i spend few hours i figured out ColVis plug in uses following code
"_fnDrawCallback": function ()
{
var aoColumns = this.s.dt.aoColumns;

for ( var i=0, iLen=aoColumns.length ; i

Replies

  • allanallan Posts: 61,722Questions: 1Answers: 10,108 Site admin
    Thanks for your post. This is already fixed in the ColVis nightly here: http://datatables.net/download/

    Allan
This discussion has been closed.