GridViewDataColumn.LoadReadOnlyValueFromDataModel Property
Specifies whether the values of read-only columns can be loaded from a data source (model).
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
Web Forms:
<dx:ASPxGridView ID="gridView" >
<Columns>
<dx:GridViewDataColumn FieldName="ProductName" LoadReadOnlyValueFromDataModel="False" />
</Columns>
</dx:ASPxGridView>
MVC:
settings.Columns.Add(column => {
column.FieldName = "ProductName";
column.LoadReadOnlyValueFromDataModel = false;
});
See Also