exportData property

This API is reliable and breaking changes are unlikely.


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

Introduced 3.0



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.


Example: Basic example

var ext = {
	support: {
		snapshot: true,
		export: true,
		exportData: true

Example: exportData as a function

In this example, the exportData property is used as a function and does not allow export of data when no data is available in the visualization extension.
	support: {
		exportData: function( layout ) {
			return layout.qHyperCube.qDataPages[0].qMatrix.length;

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?