Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTreeListDataColumn.ExportEnabled Property

Specifies whether the TreeList can export the column.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(true)]
[Parameter]
public bool ExportEnabled { get; set; }

#Property Value

Type Default Description
Boolean true

true if the current column can be exported; otherwise, false.

#Remarks

The TreeList exports data of all data columns. A column whose Visible property is set to false is hidden in the document (has a zero width).

Set a column’s ExportEnabled property to false to prevent the export of this column’s data.

Razor
<DxTreeList Data="TreeListData" KeyFieldName="Id" ParentKeyFieldName="ParentId">
    <Columns>
        <DxTreeListDataColumn FieldName="Name" 
                              Caption="Task" 
                              ExportEnabled="false" />
        <DxTreeListDataColumn FieldName="EmployeeName" />
        <DxTreeListDataColumn FieldName="StartDate" />
        <DxTreeListDataColumn FieldName="DueDate" />
    </Columns>
</DxTreeList>

For more information about data export in the TreeList component, refer to the following topic: Export Data in Blazor TreeList.

See Also