Setting the rows and columns properties of the Spreadsheet, limits the available cells like:
The same view should be exported to Excel (with hidden rows and columns).
Currently, the exported Excel file generates the rest of the columns and rows and the file looks as by default.
https://stackblitz.com/edit/angular-kns7rm