Skip to Content
0
Apr 18, 2016 at 08:52 AM

Export sap.ui.table.Table in CSV : only 100 rows

552 Views

Hi,

I'm trying to export sap.ui.table.Table content (OData), but only 100 rows are extracted.

Is there a way to return all values from OData service?

I tried with :

table.exportData({

exportType: new ExportTypeCSV({

separatorChar : ";"

})

}).saveFile()

.always(function() {

this.destroy();

});

and

oExport = new Export({

exportType : new ExportTypeCSV({

separatorChar : ";"

}),

models : this.getView().getModel(),

rows : {

path : myOdataPath

},

columns : columns

});

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

MessageBox.error(oError);

}).then(function() {

oExport.destroy();

});

Thank you for your help.

Cheers,

Sev