cancel
Showing results for 
Search instead for 
Did you mean: 

Excel cells edit/non-edit option when we download it from SAPUI5

0 Kudos

Hi Experts,

When we download the table data to excel sheet make the cells edit/non-edit in downloaded sheet based on condition.How to achieve this functionality.

code: in my controller

var oExport = new sap.ui.core.util.Export({

exportType: new sap.ui.core.util.ExportTypeCSV({

separatorChar: "," }),

models: Budgetmodel,

rows: { path: path },

columns: aColumns });

oExport.saveFile().catch(function(oError) {

sap.m.MessageBox.error("Error when downloading data\n\n" + oError);

}).then(function() {

oExport.destroy();

});

Thanks,

Ashok.

Accepted Solutions (0)

Answers (0)