MVCxGridViewLayoutItemCollection<ModelType>.AddGroupItem(Action<MVCxGridViewLayoutGroup<ModelType>>) Method
Adds a new group item to the MVCxGridViewLayoutItemCollection<ModelType> collection and allows you to customize this item in a delegate method implementation.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v25.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public MVCxGridViewLayoutGroup<ModelType> AddGroupItem(
Action<MVCxGridViewLayoutGroup<ModelType>> method
)
Parameters
| Name | Type | Description |
|---|---|---|
| method | Action<MVCxGridViewLayoutGroup<ModelType>> | A delegate method that accepts the created MVCxGridViewLayoutGroup<ModelType> as a parameter. |
Returns
| Type | Description |
|---|---|
| MVCxGridViewLayoutGroup<ModelType> | A MVCxGridViewLayoutGroup<ModelType> object that is the newly added group item. |
See Also