blazor-devexpress-dot-blazor-dot-dxgridcolumn-8b201888.md
Specifies whether a hidden column should be listed in the column chooser.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(true)]
[Parameter]
public bool ShowInColumnChooser { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to display a column in the column chooser; otherwise, false.
|
When you set the column’s Visible property to false, the grid does not display this column. However, users can invoke the column chooser to change the column visibility. If you need to hide a column in the column chooser, set the ShowInColumnChooser property to false. Note that if you exclude a band, the column chooser also does not display its nested columns.
<DxGrid Data="Products">
<Columns>
<DxGridDataColumn FieldName="SupplierId" Caption="Supplier" />
<DxGridDataColumn FieldName="UnitPrice" DisplayFormat="c" />
<DxGridDataColumn FieldName="UnitsInStock" />
<DxGridDataColumn FieldName="QuantityPerUnit" />
<DxGridDataColumn FieldName="Discontinued" ShowInColumnChooser="false" />
</Columns>
</DxGrid>
See Also