MVCxGridViewLayoutItemCollection Class
Represents a (MVC specific) collection of layout items and groups within the FormLayout used in the GridView’s edit form.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Related API Members
The following members return MVCxGridViewLayoutItemCollection objects:
Remarks
The following example illustrates how to add a command item to the item collection in adaptive layout.
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumnEdit");
The AddCommandItem(String) method gets a command column name that can be specified in the following ways:
settings.Columns.Add(new MVCxGridViewCommandColumn() { Name = "CommandColumnEdit", ShowEditButton = true, Visible = true });
Or…
settings.CommandColumn.Visible = true;
settings.CommandColumn.ShowEditButton = true;
settings.CommandColumn.Name = "CommandColumnEdit";
Implements
DevExpress.Web.Internal.IStateManagerTracker
DevExpress.Web.Internal.IPropertiesDirtyTracker
DevExpress.Utils.IAssignableCollection
Inheritance
See Also