exportFormat
onDisposing
A function that is executed before the widget is disposed of.
onInitialized
Name | Type | Description |
---|---|---|
component | Exporter |
The widget's instance. |
element |
The widget's container. It is an HTML Element or a jQuery Element when you use jQuery. |
serverUrl
Learn how to set up the server side for exporting service in our Deploy a Server topic.
showMenu
This option hides the export menu entirely. To hide only the printing icon, use the printingEnabled option.
sourceContainer
Every DevExtreme data visualization widget is created inside a div container. In order to export the widget from this container, assign one of the jQuery selectors to the sourceContainer option. For example, if a chart is placed in a div container that has the 'id' attribute set to 'chartContainer', you can specify the sourceContainer option using the ID selector as follows.
$('#exporterConainter').dxExporter({ // ... sourceContainer: '#chartContainer' });
To export more than one widget into a single document, put these widgets into a div container and pass that container to the exporter.
<div id="charts"> <div id="chartA"></div> <div id="chartB"></div> </div>
$('#exporterConainter').dxExporter({ // ... sourceContainer: '#charts' });
If you have technical questions, please create a support ticket in the DevExpress Support Center.