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.RowClickMode Property

Specifies the action that opens the Detail View: a click or double-click on a DxGrid row.

Namespace: DevExpress.ExpressApp.Blazor.Editors

Assembly: DevExpress.ExpressApp.Blazor.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Blazor

Declaration

public RowClickMode RowClickMode { get; set; }

Property Value

Type Description
RowClickMode

A RowClickMode enumeration value that specifies the action that opens the Detail View from the DxGridListEditor.

Remarks

The default action that opens the Detail View is a click on a DxGrid row.

To open the Detail View with a double-click, set the RowClickMode property value to either of the following values:

ProcessOnDouble
A double-click on a row opens the Detail View. A single click does nothing.
SelectOnSingleProcessOnDouble
A double-click on a row opens the Detail View. A single click selects the row.

Note

  • On mobile devices, a single click always opens the Detail View.
  • In Master-Detail mode View, a single click always selects the row.

The following code sample demonstrates how to set the RowClickMode property to SelectOnSingleProcessOnDouble:

using DevExpress.ExpressApp.Blazor.Editors;
using DevExpress.ExpressApp;
using YourApplicationName.Module.BusinessObjects;

namespace YourApplicationName.Blazor.Server.Controllers {
    public class GridRowClickModeController : ObjectViewController<ListView, YourBusinessClassName> {
        protected override void OnViewControlsCreated() {
            base.OnViewControlsCreated();
            if(View.Editor is DxGridListEditor grid) {
                grid.RowClickMode = RowClickMode.SelectOnSingleProcessOnDouble;
            }
        }
    }
}
See Also