'AG-Grid Extra Column on Right-Click Excel Export For Grid with checkbox column

I am using Ag-Grid version 26.1 in Angular 12. For a grid that has a checkbox column in the first column position , when exporting using the right-click option, then the resulting excel spreadsheet has an extra empty column in the first position. When I export the same grid using the grid action buttons, there is no extra empty column. Looking to get rid of the extra empty column for right-click export.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source