Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Similar to printing, Canvas supports data export of an app or form to an XLS, PDF, CSV or RTF file. Moreover, while exporting charts, Canvas also passes the data that was used for generating the corresponding chart view.

Exported data of grid views



Export Data of Chart

The Chart view does not support CSV export.

  1. To export the data of an app by invoking a button or row click event, you can call the exportData API. For detailed information on Canvas JavaScript APIs, refer Canvas JavaScript APIs. The following code snippet serves as a sample reference:

    canvas.app.exportHandler.exportData({"exportType":"PDF","viewId":"CT_LOAN_SUMMARY_VIEW","widgetId":"CT_LOAN_SUMMARY_WGT"});

    Note

    By calling the exportData API, you can export the data of the grid widgets alone. 

  • No labels