Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
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