MVCxGridViewLayoutItemCollection<ModelType>.AddGroupItem(String) Method

Adds a new group item with the specified caption to the MVCxGridViewLayoutItemCollection<ModelType> collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxGridViewLayoutGroup<ModelType> AddGroupItem(
    string caption
)
Public Function AddGroupItem(
    caption As String
) As MVCxGridViewLayoutGroup(Of ModelType)

Parameters

Name Type Description
caption String

A String value specifying the group item caption.

Returns

Type Description
MVCxGridViewLayoutGroup<ModelType>

An MVCxGridViewLayoutGroup<ModelType> object that is the newly added layout group item.

See Also