bSaveState doesn't load visibility if using aoColumnDefs
bSaveState doesn't load visibility if using aoColumnDefs

If I use bSaveState, the visibility of the columns is correctly saved. If I use aoColumns to specify column properties, then the visibility is also correctly reloaded. If, however, I use aoColumnDefs to specify properties, the visibility isn't reloaded. As far as I can tell from the code, this is because aoColumnDefs are applied after the visibility from the cookie.
This discussion has been closed.