Skip to main content
All docs
V24.1

CompatibilitySettings.UseDropDownInGridColumnChooser Property

Specifies whether the DxGrid component renders the Column Chooser as a window or drop-down component.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public static bool UseDropDownInGridColumnChooser { get; set; }

Property Value

Type Description
Boolean

true to render the Column Chooser as a drop-down component; false to render the Column Chooser as a window component.

Remarks

In v23.1, the DxGrid component renders the Column Chooser as a draggable/resizable window. You can customize this window.

Run Demo: Grid - Column Chooser

New Column Chooser

In previous versions, the Column Chooser is a drop-down window. It can be connected to a button or toolbar item and has no customization options. Use the UseDropDownInGridColumnChooser property to restore this behavior. Specify this property in the Program.cs file before you register DevExpress resources:

// ...
DevExpress.Blazor.CompatibilitySettings.UseDropDownInGridColumnChooser = true;
builder.Services.AddDevExpressBlazor();
// ...
app.Run();

Alternatively, you can use the CompatibilityMode property to maintain component behavior from v22.2.

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