The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.2.dll


public GridViewExtension BindToCustomData(
    GridViewModel viewModel
Public Function BindToCustomData(
    viewModel As GridViewModel
) As GridViewExtension


Name Type Description
viewModel GridViewModel

A GridViewModel object representing the grid view model to which to bind.


Type Description

A GridViewExtension object representing the GridView extension.


Refer to the Custom Data Binding - Overview topic to learn more.

See Also