exportData property
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
exportData(enable)
Enables or disables the ability to export data from the visualization extension and save it in an XLSX file. When set to true, the Export data context menu option is enabled for the visualization extension.
Version history
Version state | Details |
---|---|
Introduced | 3.0 |
Parameters
enable
Type: Boolean
Set to true to enable the Export data context menu option for the visualization extension, and set to false to disable.
Default is true.
Examples
Example: Basic example
var ext = {
support: {
snapshot: true,
export: true,
exportData: true
}
};
Example: exportData as a function
{
support: {
exportData: function( layout ) {
return layout.qHyperCube.qDataPages[0].qMatrix.length;
}
}
}