Skip to main content
A newer version of this page is available.
All docs
V18.2

MVCxGridViewLayoutItemCollection.AddGroupItem(Action<MVCxGridViewLayoutGroup>) Method

Adds a new group item to the MVCxGridViewLayoutItemCollection collection and allows you to customize this item in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxGridViewLayoutGroup AddGroupItem(
    Action<MVCxGridViewLayoutGroup> method
)

Parameters

Name Type Description
method Action<MVCxGridViewLayoutGroup>

A delegate method that accepts the created MVCxGridViewLayoutGroup as a parameter.

Returns

Type Description
MVCxGridViewLayoutGroup

A MVCxGridViewLayoutGroup object that is the newly added group item.

See Also