Skip to main content
All docs
V24.2

DxTreeListDataColumn.ExportWidth Property

Specifies the column’s export width in pixels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(200)]
[Parameter]
public int ExportWidth { get; set; }

Property Value

Type Default Description
Int32 200

The column width.

Remarks

When you export data to Excel formats (XLS and XLSX), use the ExportWidth property to specify the width of the column in the exported document:

<DxTreeList Data="TreeListData" KeyFieldName="Id" ParentKeyFieldName="ParentId">
    <Columns>
        <DxTreeListDataColumn FieldName="Name" Caption="Task" ExportWidth="300" />
        <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