GridViewColumn.ExportWidth Property
Specifies the column’s export width.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
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