VerticalGridRowState.ForceType(Type) Method
Inform the VerticalGrid extension about the types of its columns.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
Name | Type | Description |
---|---|---|
rowType | Type | The VerticalGrid’s row type. |
Remarks
If the VerticalGrid’s data source is not empty on the first load, the grid automatically determines and saves the type of objects contained within its data source, so you do not have to force the type of objects contained within its data source.
If the VerticalGrid’s data source is empty (e.g., because of an invalid filter expression or empty data base) on the first load, use the ForceType method to inform the VerticalGrid extension about the types of its rows.
See Also