make sure page says when colvis changed, and is not stored in state

This commit is contained in:
Oliver Gorwits
2014-10-25 21:52:12 +01:00
parent 3a4df4527d
commit cc44cdde62
2 changed files with 3 additions and 1 deletions

View File

@@ -629,7 +629,7 @@ ColVis.prototype = {
}
else
{
that.s.dt.oInstance.fnSetColumnVis( i, showHide );
that.s.dt.oInstance.fnSetColumnVis( i, showHide, false );
}
$.fn.dataTableExt.iApiIndex = oldIndex; /* Restore */

View File

@@ -38,4 +38,6 @@
// make sure filter is never saved
data.search.search = "";
// make sure paging position is not saved
data.start = 0;
}