...
Anchor |
---|
| _Toc389215515 |
---|
| _Toc389215515 |
---|
|
Anchor |
---|
| _Toc408172007 |
---|
| _Toc408172007 |
---|
|
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:
Code Block |
---|
|
canvas.app.exportHandler.exportData(
{ "exportType" : "PDF",
"viewId" : "CT_LOAN_SUMMARY_VIEW",
"widgetId" : "CT_LOAN_SUMMARY_WGT" //widgetId is the App ID
}); |
Tip |
---|
|
By calling the exportData API, you can export the data of the grid widgets alone. |