Skip to Content
0

useExportToExcel in smart table

Sep 25, 2017 at 03:13 AM

284

avatar image
Former Member

Hi Experts,

i am using smart table , and i have requirements to enable the user to download the table data with filters used in smart table in csv/xlsx format, Can anyone one help me to do that in smart table, i can see option for that is "useExportToExcel" property which i am already using in my smart table, but it is not working , Please help.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vedaradhya Agrahar Sep 25, 2017 at 09:58 AM
0

Hi Pradeep,

If you want to download excel file from SmartTable, you have to use property useExportToExcel="true"

The proper format needed for such an export. The server must return a metadata document with sap:supported-formats="xlsx" to support this.

SmartTable

Please check your metadata. for your kind reference check below screen, EntityContainer looks like this

Regards,

Vedaradhya.


Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Vedaradhya Agrahar,

Thank you so much for the reply, is the useExcelToExport will download the data after the filter is applied on the smart table?, or is there any way to get the filters applied on smart table in the controller file, so that i can use that filters to download the report in excel?

Thanks in advance,

Pradeep.

0