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
[DefaultValue(true)]
[Parameter]
public bool ExportEnabled { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
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.
<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