DxGridListEditor.GridCommandActionColumnModels Property
In This Article
Provides access to a set of DxGrid
command column models.
Namespace: DevExpress.ExpressApp.Blazor.Editors
Assembly: DevExpress.ExpressApp.Blazor.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Blazor
#Declaration
#Property Value
Type | Description |
---|---|
IList<DevExpress. |
A collection of |
#Remarks
Use this property to customize the GridCommandActionColumnModels
collection:
C#
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Actions;
using DevExpress.ExpressApp.Blazor.Components.Models;
using DevExpress.ExpressApp.Blazor.Editors;
using DevExpress.ExpressApp.Blazor.Editors.ActionControls;
using DevExpress.ExpressApp.Blazor.Editors.Models;
namespace MySolution.Blazor.Server.Controllers;
public class ColumnsOrderController : ViewController<ListView> {
protected override void OnViewControlsCreated() {
base.OnViewControlsCreated();
if(View.Editor is DxGridListEditor gridListEditor) {
gridListEditor.GridCommandActionColumnModels.FirstOrDefault(c => c.Name == "RecordEdit").VisibleIndex = 3;
}
}
}
See Also