187
Views
1
Comments
Solved
[OutSystems Data Grid] When exporting to excel is possible to hidden some columns to not export those?
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
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?

2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

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.