ASPxGridListEditor.UseASPxGridViewDataSpecificColumns Property
Specifies if the ASPxGridListEditor uses the data-specific column types for data cells.
Namespace: DevExpress.ExpressApp.Web.Editors.ASPx
Assembly: DevExpress.ExpressApp.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true, if the data-specific column types are used for data cells; otherwise - false. |
Remarks
By default, the UseASPxGridViewDataSpecificColumns property value is true, i.e., data-specific column types are used for data cells. If there is no appropriate data-specific column type, data cell values are displayed using the ITemplate templates specified by the GridViewDataColumn.DataItemTemplate property. Edit cells use templates specified by GridViewDataColumn.EditItemTemplate, providing rich editing capabilities via the editors that are also used in Detail Views.
If the UseASPxGridViewDataSpecificColumns is false, the DataItemTemplate is always used for data cells. Note, in this case in the Batch edit mode, new rows cannot be edited and saved. To change the UseASPxGridViewDataSpecificColumns value, add the following code to the Application_Start method located in the Global.asax.cs (Global.asax.vb) file.
protected void Application_Start(Object sender, EventArgs e) {
ASPxGridListEditor.UseASPxGridViewDataSpecificColumns = false;
// ...
}
Important
Please note the following limitations of data-specific columns:
- You cannot navigate to a referenced object by clicking a cell that displays a reference property.
- The “N/A” text is not displayed for null reference values.