Search results

exportSettings

Properties

exportOptions

enum

<ts name = "ej.ReportViewer.ExportOptions"/>

Specifies the export formats.

Name Description
All Specifies the All property in ExportOptions to get all available options.
PDF Specifies the PDF property in ExportOptions to get PDF option.
Word Specifies the Word property in ExportOptions to get Word option.
Excel Specifies the Excel property in ExportOptions to get Excel option.
HTML Specifies the HTML property in ExportOptions to get HTML option.

Default Value

  • ej.ReportViewer.ExportOptions.All

Example

<div id="container"></div>
<script>
    $("#container").ejReportDesigner({
        previewOptions: {
            exportSettings:{ exportOptions: ej.ReportViewer.ExportOptions.Html | ej.ReportViewer.ExportOptions.Pdf }
        }
    });
</script>

excelFormat

enum

<ts name = "ej.ReportViewer.ExcelFormats"/>

Specifies the excel export format.

Name Description
Excel97to2003 Specifies the Excel97to2003 property in ExcelFormats to get specified version of exported format.
Excel2007 Specifies the Excel2007 property in ExcelFormats to get specified version of exported format.
Excel2010 Specifies the Excel2010 property in ExcelFormats to get specified version of exported format.
Excel2013 Specifies the Excel2013 property in ExcelFormats to get specified version of exported format.

Default Value

  • ej.ReportViewer.ExcelFormats.Excel97to2003

Example

<div id="container"></div>
<script>
    $("#container").ejReportDesigner({
        previewOptions: {
            exportSettings:{ excelFormat: ej.ReportViewer.ExcelFormats.Excel97to2003}
        }
    });
</script>

wordFormat

enum

<ts name = "ej.ReportViewer.WordFormats"/>

Specifies the word export format.

Name Description
Doc Specifies the Doc property in WordFormats to get specified version of exported format.
Dot Specifies the Dot property in WordFormats to get specified version of exported format.
DOCX Specifies the DOCX property in WordFormats to get specified version of exported format.
Word2007 Specifies the Word2007 property in WordFormats to get specified version of exported format.
Word2010 Specifies the Word2010 property in WordFormats to get specified version of exported format.
Word2013 Specifies the Word2013 property in WordFormats to get specified version of exported format.
Word2007Dotx Specifies the Word2007Dotx property in WordFormats to get specified version of exported format.
Word2010Dotx Specifies the Word2010Dotx property in WordFormats to get specified version of exported format.
Word2013Dotx Specifies the Word2013Dotx property in WordFormats to get specified version of exported format.
Word2007Docm Specifies the Word2007Docm property in WordFormats to get specified version of exported format.
Word2010Docm Specifies the Word2010Docm property in WordFormats to get specified version of exported format.
Word2013Docm Specifies the Word2013Docm property in WordFormats to get specified version of exported format.
Word2007Dotm Specifies the Word2007Dotm property in WordFormats to get specified version of exported format.
Word2010Dotm Specifies the Word2010Dotm property in WordFormats to get specified version of exported format.
Word2013Dotm Specifies the Word2013Dotm property in WordFormats to get specified version of exported format.
RTF Specifies the RTF property in WordFormats to get specified version of exported format.
Txt Specifies the Txt property in WordFormats to get specified version of exported format.
EPUB Specifies the EPUB property in WordFormats to get specified version of exported format.
HTML Specifies the HTML property in WordFormats to get specified version of exported format.
XML Specifies the XML property in WordFormats to get specified version of exported format.
Automatic Specifies the Automatic property in WordFormats to get specified version of exported format.

Default Value

  • ej.ReportViewer.WordFormats.Doc

Example

<div id="container"></div>
<script>
    $("#container").ejReportDesigner({
        previewOptions: {
            exportSettings:{ wordFormat: ej.ReportViewer.WordFormats.Doc}
        }
    });
</script>

customItems

array

Add the custom icon item to the export options.

Default Value

  • empty

Example

<div id="container"></div>
<script>
    $("#container").ejReportDesigner({
        previewOptions: {
            exportSettings: {
                customItems: [{
                    index: 2,
                    cssClass: '',
                    value: 'exportCustom'
                },
                {
                    index: 4,
                    cssClass: '',
                    value: 'exportCustom3'
                }]
            }
        }
    });
</script>