You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the stateChange callback is the last function to be called after hiding/showing a column (colVis.js:640).
If stateChange callback is moved to a place before the other callbacks, then an application can know which column was hidden/shown before the table redraws. The main use case for this is when I'm tracking column visibility outside of the dataTables API and need to use it during one of the other callbacks, like createdRow or rowCallback. I add data-* attributes to DOM elements during the other callbacks based on which columns are visible.
The text was updated successfully, but these errors were encountered:
Currently, the
stateChange
callback is the last function to be called after hiding/showing a column (colVis.js:640).If
stateChange
callback is moved to a place before the other callbacks, then an application can know which column was hidden/shown before the table redraws. The main use case for this is when I'm tracking column visibility outside of the dataTables API and need to use it during one of the other callbacks, likecreatedRow
orrowCallback
. I add data-* attributes to DOM elements during the other callbacks based on which columns are visible.The text was updated successfully, but these errors were encountered: