Hi,
I'm working on a grid which has an action cell with buttons, which of course i dont want to export, but when i try to pass a custom column configuration to the export it fallbacks to the grid's one.
I made further investigation on the kendo-react-private repository and i found out that effectively there's a preference for the grid columns rather than custom
more precisely on kendo-react-private>packages>excel>src>ExcelExport.tsx (line 201~206)
const columns = this.extractColumns(
gridColumns ||
externalColumns ||
this.props.columns ||
React.Children.toArray(children)
);
this is the piece of code i was talking about.
as you can see if gridColumns has a value is preferred rather than externalColumns
it would be nice to have a property onto the grid column definition stating if that column should be exported or not (best case)
or just preferring externalColumns to gridColumns (base case)