The callback provided by @mui/x-data-grid-pro for tracking visible columns as far as I can tell is below:
onColumnVisibilityChange={(params, event, details) =>
console.log(params, event, details.api.getVisibleColumns())
}
This fires OK when individual columns are toggled however this event doesn't fire on show/hide all button click.
Is there a known workaround for this?