menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ExcelExportProperties - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ExcelExportProperties

    Defines the options for customizing the excel document during export.

    Inheritance
    System.Object
    ExcelExportProperties
    TreeGridExcelExportProperties
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ExcelExportProperties : Object

    Constructors

    ExcelExportProperties()

    Declaration
    public ExcelExportProperties()

    Properties

    Columns

    Defines the columns which are to be customized for Export alone.

    Declaration
    public List<GridColumn> Columns { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GridColumn>

    DataSource

    Defines the data source dynamically before exporting.

    Declaration
    public IEnumerable<object> DataSource { get; set; }
    Property Value
    Type
    System.Collections.Generic.IEnumerable<System.Object>

    ExcelDetailRowMode

    Gets or sets the mode for exporting detail rows to excel file format.

    Declaration
    public ExcelDetailRowMode ExcelDetailRowMode { get; set; }
    Property Value
    Type
    ExcelDetailRowMode
    Remarks

    This property determines how detail rows are exported in Excel exporting.

    • When set to "Expand", detail rows are exported in their expanded state.
    • When set to “Collapse” details rows are exported in their collapsed state.
    • When set to "None", only parent rows are exported. The default mode is Expand.

    ExportType

    Indicates to export current page or all page.

    Declaration
    public ExportType ExportType { get; set; }
    Property Value
    Type
    ExportType

    FileName

    Defines the file name for the exported file.

    Declaration
    public string FileName { get; set; }
    Property Value
    Type
    System.String

    Footer

    Defines the footer content for exported document.

    Declaration
    public ExcelFooter Footer { get; set; }
    Property Value
    Type
    ExcelFooter

    GridSheetIndex

    Defines the Grid sheet index. Based on index Grid sheet will append.

    Declaration
    public int GridSheetIndex { get; set; }
    Property Value
    Type
    System.Int32

    Header

    Defines the header content for exported document.

    Declaration
    public ExcelHeader Header { get; set; }
    Property Value
    Type
    ExcelHeader

    HierarchyExportMode

    Defines the hierarchy export mode for the pdf grid.

    Declaration
    public HierarchyExportMode HierarchyExportMode { get; set; }
    Property Value
    Type
    Syncfusion.Blazor.Grids.HierarchyExportMode

    IncludeCommandColumn

    Indicates whether to show/hide the command columns in exported excel.

    Declaration
    public bool IncludeCommandColumn { get; set; }
    Property Value
    Type
    System.Boolean

    IncludeHeaderRow

    Enable/disable the property to export the Grid column header row.

    Declaration
    public bool IncludeHeaderRow { get; set; }
    Property Value
    Type
    System.Boolean

    IncludeHiddenColumn

    Indicates whether to show the hidden columns in exported excel.

    Declaration
    public bool IncludeHiddenColumn { get; set; }
    Property Value
    Type
    System.Boolean

    IncludeTemplateColumn

    Indicates whether to show/hide the Template columns in exported excel.

    Declaration
    public bool IncludeTemplateColumn { get; set; }
    Property Value
    Type
    System.Boolean

    Theme

    Defines the theme for exported data.

    Declaration
    public ExcelTheme Theme { get; set; }
    Property Value
    Type
    ExcelTheme

    Workbook

    Defines the additional workbook sheets for export.

    Declaration
    public Workbook Workbook { get; set; }
    Property Value
    Type
    Syncfusion.ExcelExport.Workbook
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved