You can export ejGrid from the HTML file by using the Export function. However for exporting, you need some server-side services. Used here is the WebAPI and the provided code example related to it for exporting the Grid to Excel, Word and PDF. In the code example provided toolbarClick event is used to call the Export method in the WebAPI controller.
Server Side Dependencies:
Export helper functions are available in the Assembly Syncfusion.EJ.Export which are needed for exporting of the Grid. Full list of assemblies needed for the Grid export are as follows.
Parameter used in excel export method
Parameter used in word export method
Parameter used in PDF export method
Exported gridFigure 1: Output
This page will automatically be redirected to the sign-in page in 10 seconds.