GridViewExtension.BindToCustomData(GridViewModel) Method
Binds the GridView to a custom data model when you use the grid in the custom data binding mode.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v25.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| viewModel | GridViewModel | A GridViewModel object representing the grid view model to which to bind. |
Returns
| Type | Description |
|---|---|
| GridViewExtension | A GridViewExtension object representing the GridView extension. |
Remarks
Refer to the Custom Data Binding - Overview topic to learn more.
See Also