DxDataGridColumnBase.Visible Property

Specifies whether a column is visible in the grid.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.dll

Declaration

[Parameter]
public bool Visible { get; set; }

Property Value

Type Description
Boolean

true, to display a column in the grid; otherwise, false.

Remarks

The Visible property allows you to manage column visibility. Once you hide a column (set the Visible property to false), its editor is no longer available in edit mode. Set the EditorVisible property to true to display the editor.

<DxDataGrid Data="@forecasts">
    <DxDataGridColumn Field="@nameof(WeatherForecast.TemperatureC)"
        Caption="Temp. (C)"
        Visible="false"
        EditorVisible="@DefaultBoolean.True">
    </DxDataGridColumn>
    ...
</DxDataGrid>

Blazor_DataGrid_Column_EditorVisible

See Also