Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

exportFields Operation Binding and Hidden Columns on Export

$
0
0
Version: SmartClient Version: v9.1p_2015-02-07/PowerEdition Deployment (built 2015-02-07)

I'm making use of the <exportFields> name1, name2, name3 </exportFields> Operation binding in the datasource .ds.xml to specify the names of the columns I want exported.

However the field name definition for 'name2' has hidden=true property which is correct in the client list grid, but I want it to appear in the export (to OOXML format). The columns name1 and name3 are appearing in the export .xlsx file.

Is there a way to override the hidden property for just the export using an OperationBinding in the xml? Is there another way ?

Is the only way to use the

dsRequestProps.setExportFields( LIST of Export Columns);
and
dsRequestProps.setExportFieldTitles ( MAP of fields to titles);

APIs to achieve this? This code is on the server side DMI.

Viewing all articles
Browse latest Browse all 4756

Trending Articles