Search results
Suggest a FeaturePDF

exportSettings

Properties

exportOptions

enum

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.
PPT Specifies the PPT property in ExportOptions to get PPT option.
CSV Specifies the CSV property in ExportOptions to get CSV option.
XML Specifies the XML property in ExportOptions to get XML option.
CustomItems Specifies the customItems property in ExportOptions to get customItems option.

Defaults to ej.ReportViewer.ExportOptions.All

Example

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

excelFormat

enum

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.

Defaults to ej.ReportViewer.ExcelFormats.Excel2013

Example

<div id="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer(
        {
            exportSettings:{ excelFormat: ej.ReportViewer.ExcelFormats.Excel2013}
        });
</script>

wordFormat

enum

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.

Defaults to ej.ReportViewer.WordFormats.Docx

Example

<div id="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer(
        {
            exportSettings:{ wordFormat: ej.ReportViewer.WordFormats.Docx}
        });
</script>

customItems

array

Add the custom icon item to the export options.

Defaults to empty

Example

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

ImageQuality

number

Sets the image quality of data visualization items in report export. It allows value range from 1 to 10.

Defaults to 2

Example

<div id="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer(
        {
            exportSettings:{
                CommonOptions:{
                    ImageQuality: 4
                }  
            }
        });
</script>

UsePrintSizes

boolean

Set the property value as true to reflect Report Viewer print page settings in the report export document.

Defaults to false

Example

<div id="reportviewer"></div>
<script>
    $("#reportviewer").boldReportViewer(
        {
            exportSettings:{
                CommonOptions:{
                    UsePrintSizes: true
                }  
            }
        });
</script>