Skip to main content
Tab

GridViewDataTextColumn Class

Represents a data column used to display string values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class GridViewDataTextColumn :
    GridViewEditDataColumn

Remarks

The column editor’s settings can be accessed and customized using the GridViewDataTextColumn.PropertiesTextEdit property.

Concept

Data Columns

Example

<dx:ASPxGridView ID="ASPxGridView1" runat="server" Width="100%" KeyFieldName="OrderID"
  DataSourceID="OrdersDataSource" >
    <Columns>
        <dx:GridViewDataTextColumn FieldName="OrderID" VisibleIndex="0" ReadOnly="True">
            <EditFormSettings Visible="False" />
        </dx:GridViewDataTextColumn>
        <dx:GridViewDataDateColumn FieldName="OrderDate" VisibleIndex="1">
            <PropertiesDateEdit DisplayFormatString="ddd dd/MM/yyyy" Height="30" />
        </dx:GridViewDataDateColumn>
        <dx:GridViewDataTextColumn FieldName="ShipName" VisibleIndex="2">
        </dx:GridViewDataTextColumn>
    </Columns>
    <SettingsPager Mode="ShowPager" PageSize="4" />
</dx:ASPxGridView>

GridViewDataTextColumn - PropertiesTextEdit Property

See Also