Skip to main content
All docs
V24.1

CompatibilitySettings.DisableKeyboardNavigationInGrid Property

Specifies whether to disable keyboard navigation and shortcuts in all DxGrid components.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public static bool DisableKeyboardNavigationInGrid { get; set; }

Property Value

Type Description
Boolean

true to disable keyboard navigation and shortcuts; otherwise, false.

Remarks

DevExpress Blazor Grid v24.1 activates keyboard navigation and built-in shortcuts by default. You may need to update your code since built-in keyboard support might break your custom keyboard navigation logic.

If you are not ready to update your application to take the new behavior into account, you can temporarily disable keyboard navigation in Grid components. Note that we may remove this option in future versions.

Note

The EditCell mode requires active keyboard navigation.

To revert to the previous behavior, set the DisableKeyboardNavigationInGrid property to true in the Program.cs file before you register DevExpress resources:

// ...
DevExpress.Blazor.CompatibilitySettings.DisableKeyboardNavigationInGrid = true;
builder.Services.AddDevExpressBlazor();
// ...
app.Run();
See Also