[OutSystems Data Grid] When exporting to excel is possible to hidden some columns to not export those?
data-grid-reactive
Reactive icon
Forge component by Platform Maintenance
Application Type
Reactive

Hello,

I have a column very small no visible, to be able to set logic to add CSS color in other column in the table. I wanted to remove that column from the export excel action. Is possible to do this?

Hi @André Cruz 

What have you tried so far from the Wijmo APIs?
Currently, the data grid team is not considering having this feature as a single client action.
The principle is to leverage the existing atomic client actions and have developers use them to create more complex use cases - all about extensibility.
You can explore this interface and implement your own custom, with something like this callback provided:

wijmo.grid.xlsx.FlexGridXlsxConverter.save(grid, {
       includeColumns: function(column) {
                                                 return column.binding !== 'country';
                                      }
}


Best Regards and share your findings with the whole community,
GM

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.