Skip to main content
All docs
V24.1
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

DxGridListEditor.GridCommandActionColumnModels Property

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

public IList<DxGridCommandColumnModel> GridCommandActionColumnModels { get; }

Property Value

Type Description
IList<DevExpress.ExpressApp.Blazor.Editors.Models.DxGridCommandColumnModel>

A collection of DxGrid command column models.

Remarks

Use this property to customize the GridCommandActionColumnModels collection:

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