DxDataGridCommandColumn.ClearFilterButtonVisible Property

Specifies whether the Clear button is visible in the command column.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(true)]
public bool ClearFilterButtonVisible { get; set; }

Property Value

Type Default Description
Boolean

true

true, to display the button; otherwise, false.

Remarks

The grid displays the Clear button when the filter row is visible (ShowFilterRow). Click the Clear button to clear filter criteria in all cells of the filter row. Use the ClearFilterButtonVisible property to hide or show the Clear command button provided that the filter row is visible.

Data Grid - Clear Filter button is visible

<DxDataGrid Data="@forecasts" ShowFilterRow="true">
    <DxDataGridCommandColumn 
        Width="150px"
        ClearFilterButtonVisible="false" >
    </DxDataGridCommandColumn>
    ...
</DxDataGrid>

The result:

Data Grid - Clear Filter button is hidden

Online Demo

Data Grid - Column Types

See Also