We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Exporting to Excel, Word, PDF from LS HTML Grid

Hello,
in our Online Demo you show the Exporting Ability of the LS HTML Grid.

Can you please tell me how i can activate this Functionality in my Project?

There is no Screen Template for the Exporting Funconality and when in copy the Javascript code from the Sample Project there are Errors with these entries:
gridObj.exportGrid('../api/GridExporting/ExcelExport'), ect,

Because there is no '../api/GridExporting/ExcelExport' or something else in the Server Project.
 
Please help.

Kind Regards
Thomas

1 Reply

JK Jayaprakash Kamaraj Syncfusion Team August 5, 2015 12:57 PM UTC

Hi Thomas,

Thanks for using Syncfusion products.

Query 1: There is no Screen Template for the Exporting Functionality

We considered this “There is no Screen Template for the Exporting Functionality” as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.


https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents


Query 2: Error about gridObj.exportGrid('../api/GridExporting/ExcelExport'), ect

For exporting we need to create any services/ write action. So we suggest you to use any services like webAPI service in your project. For your convenience we have prepared a simple sample. Please refer the sample from the below link:

sample: http://www.syncfusion.com/downloads/support/forum/119819/ExportSample-LS724617479.zip

We have already created a UG documentation task for Exporting in Lightswitchhtml. Please find the documentation from the below link.


Link: http://help.syncfusion.com/ug/lightswitch/index.html#!Documents/exporting.htm

Please let us know if you have any queries.

Regards,
Jayaprakash k


Loader.
Live Chat Icon For mobile
Up arrow icon