By default, visible columns are visible and hidden columns are hidden in Excel export.
If you want the hidden columns to remove altogether from Excel export, then
1) for non - grouped columns: you have to add copy: false to the hidden columns.
2) for grouped columns, you have to remove hidden columns from colModel in beforeExport event and restore original colModel in export event.