Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 23, 2024
1 parent bad5e7e commit 0bc734f
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/01/05/z2ui5_cl_cc_spreadsheet.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ CLASS Z2UI5_CL_CC_SPREADSHEET IMPLEMENTATION.
r_js = ` sap.ui.define("z2ui5/ExportSpreadsheet" , [` && |\n| &&
` "sap/ui/core/Control",` && |\n| &&
` "sap/m/Button",` && |\n| &&
` "sap/ui/export/Spreadsheet"` && |\n| &&
` ], function (Control, Button, Spreadsheet) {` && |\n| &&
* ` "sap/ui/export/Spreadsheet"` && |\n| &&
* ` ], function (Control, Button, Spreadsheet) {` && |\n| &&
` ], function (Control, Button) {` && |\n| &&
` "use strict";` && |\n| &&
|\n| &&
` return Control.extend("z2ui5.ExportSpreadsheet", {` && |\n| &&
Expand Down Expand Up @@ -105,12 +106,15 @@ CLASS Z2UI5_CL_CC_SPREADSHEET IMPLEMENTATION.
` workbook: { columns: aCols },` && |\n| &&
` dataSource: oBinding` && |\n| &&
` };` && |\n| &&
` oSheet = new Spreadsheet(oSettings);` && |\n| &&
` oSheet.build()` && |\n| &&
` .then(function() {` && |\n| &&
` }).finally(function() {` && |\n| &&
` oSheet.destroy();` && |\n| &&
` });` && |\n| &&
* ` oSheet = new Spreadsheet(oSettings);` && |\n| &&
` sap.ui.require(["sap/ui/export/Spreadsheet"], function(Spreadsheet) {` && |\n| &&
` oSheet = new Spreadsheet(oSettings);` && |\n| &&
` oSheet.build()` && |\n| &&
` .then(function() {` && |\n| &&
` }).finally(function() {` && |\n| &&
` oSheet.destroy();` && |\n| &&
` });` && |\n| &&
` });` && |\n| &&
` }.bind(oControl)` && |\n| &&
` });` && |\n| &&
|\n| &&
Expand Down

0 comments on commit 0bc734f

Please sign in to comment.