Skip to Content
avatar image
Former Member

Smart table control's export to excel button not appearing/working

Hi,

I am trying to use the export to excel/spreadsheet feature of smart table control in SAPUI5 web app but the Export to Excel/Spreadsheet button doesn't appear. My code changes include:

1. Setting the useExportToExcel property to true for the smart table

2. Updating the local metadata.xml file to include following to support excel format:

<EntityContainer Name="xyzDataService" m:IsDefaultEntityContainer="true"

sap:supported-formats="atom json xlsx">

Where else am I supposed to add the annotation for supported format as xlsx for the button to appear and export the data?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 02, 2017 at 12:17 PM

    Can you please paste your smart table code?

    Add comment
    10|10000 characters needed characters exceeded