GridViewLayoutItemCollection.AddCommandItem(String) Method
Adds the specified item to the GridViewLayoutItemCollection collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
columnName | String | The command item name. |
Returns
Type | Description |
---|---|
EditModeCommandLayoutItem | The newly added command item. |
Remarks
settings.CommandColumn.Visible = true;
settings.CommandColumn.ShowDeleteButton = true;
settings.CommandColumn.ShowEditButton = true;
settings.CommandColumn.Name = "CommandColumn";
...
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumn");
See Also