GridViewFormLayoutProperties.Items Property
Provides access to the collection of items placed in the edit form layout.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
GridViewLayoutItemCollection | A collection of layout items. |
Remarks
The following example illustrates how to use the AddCommandItem(String) and AddColumnItem methods to add a command and data columns.
Web Forms:
ASPxGridView.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumnEdit");
ASPxGridView.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddColumnItem("ProductName");
MVC:
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumnEdit");
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddColumnItem("ProductName");
Online Demos
See Also