ExtensionsFactory.VerticalGrid<ColumnType>(VerticalGridSettings<ColumnType>) Method
Creates a VerticalGrid.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public VerticalGridExtension<ColumnType> VerticalGrid<ColumnType>(
VerticalGridSettings<ColumnType> settings
)
where ColumnType : class
Parameters
Name | Type | Description |
---|---|---|
settings | VerticalGridSettings<ColumnType> | A VerticalGridSettings<ColumnType> object containing the VerticalGrid extension settings. |
Type Parameters
Name |
---|
ColumnType |
Returns
Type | Description |
---|---|
VerticalGridExtension<ColumnType> | A VerticalGridExtension<ColumnType> object implementing VerticalGrid functionality. |
Remarks
To enable binding grid columns to Model fields using lambdas, it is required to declare the VerticalGrid extension using the VerticalGrid<ColumnType> strongly-typed declaration method.
Note
The partial View with the VerticalGrid extension does not need to be strongly-typed.
See Also