SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.9k stars 1.23k forks source link

sap.m.Table: Ability to export to a spreadsheet (Excel, CSV, ...) #4043

Closed mathlizee closed 2 months ago

mathlizee commented 2 months ago

OpenUI5 version: 1.120.12

Browser/version (+device/version): Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Hello!

Since OpenUI5 version 1.73, sap.ui.core.util.ExportTypeCSV is deprecated and the documentation indicates that ~sap.ui.core.util.ExportTypeCSV~ sap.ui.export.Spreadsheet should be used. However, this module is only available in SAPUI5.

In my opinion, since exporting a table's data to a spreadsheat is a commonly needed operation for a business oriented framework such as OpenUI5, it should support such an operation. It could be also used as a temporary work-around to print a table's data while this feature request is implemented (users could export the table to a spreadsheet and then print the data using another software, such as Excel, Google Sheets, etc.).

Thanks! Math

pubmikeb commented 2 months ago

@mathlizee, in the body question, you mention sap.ui.core.util.ExportTypeCSV twice, is it a typo error?

Since OpenUI5 version 1.73, sap.ui.core.util.ExportTypeCSV is deprecated and the documentation indicates that sap.ui.core.util.ExportTypeCSV should be used. However, this module is only available in SAPUI5.

BTW, https://github.com/SAP/openui5/issues/2629 is not yet implemented, it's in in progress stage, already for more than 2 years!

mathlizee commented 2 months ago

@pubmikeb You're right! I made a correction in the question's body.

DonkeyCo commented 2 months ago

As @pubmikeb mentioned, we already have this gap on our radar, as we have BLIs FIORITECHP1-13991 and FIORITECHP1-13992 on our backlog.

Unfortunately, the topic currently has not the highest priority and therefore has not seen any further development yet.

I know this answer won't satisfy you, but restricted capacity and other incoming high priority topics lead to a current hold of this topic.

I'll close this issue, as #2629 deals with the same topic and you can find updates there.