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

Declaration

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

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