Skip to main content

VerticalGridExtension.GetViewModel(String) Method

Returns the VerticalGrid’s view model object that maintains the grid state and provides the means to populate itself with data when the grid is used in custom data binding mode.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public static VerticalGridModel GetViewModel(
    string name
)

Parameters

Name Type Description
name String

A string value that is the unique identifier name (SettingsBase.Name) for the VerticalGrid.

Returns

Type Description
VerticalGridModel

A VerticalGridModel object representing the VerticalGrid model.

Remarks

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

See Also