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.
Unfortunately, activation email could not send to your email. Please try again.

How to export multiple TreeGrids with remote data in Angular

 

 

User can export multiple TreeGrid controls to PDF or excel files. To enable this support, the “allowMultipleExporting” property should be enabled. The exporting toolbar icons and “toolbarClick” action event will be enabled only for the TreeGrid which is displayed at first.

The server-side export method URL is passed to TreeGrid export method on toolbar click event. The TreeGrid models are sent as an array collection to the server-side.

 

 

In server-side export method, it calls and sends the required parameters to the multiple exporting overloading method.

For excel export, TreeGrid’s contents are converted to workbook format and append it to the next TreeGrid subsequently. Finally, pass the workbook to the last TreeGrid excel export overloading method to export consolidated view of all TreeGrid’s contents in single excel sheet.

Similarly, PDF export saves the content to PDF format with the overloading methods.

 

Sample:

A sample to export the multiple TreeGrids using remote data is available here

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8396 02/12/2018 02/12/2018 JavaScript ejTreeGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.