Skip to main content
Tab

GridViewColumn.ExportWidth Property

Specifies the column’s export width.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public virtual int ExportWidth { get; set; }

Property Value

Type Default Description
Int32 0

The column’s width, in pixels.

Remarks

Use a column’s ExportWidth property to specify the width of the column in the exported file.

<dx:ASPxGridView ID="grid" runat="server" DataSourceID="CustomerReportsDataSource"
    AutoGenerateColumns="False" >
    <Columns>
        <dx:GridViewDataTextColumn FieldName="ProductName" ExportWidth="50" />
    <%--...--%>

In WYSIWYG export mode, if the ExportWidth property is set to default 0, the column’s export width depends upon the column’s content.

See Also