DxDataGridCommandColumn.DeleteButtonVisible Property

Specifies whether the ‘Delete’ button is visible in the command column.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true, to display the button; otherwise, false.

Remarks

The grid displays the ‘Delete’ button when you add a command column. Use the DeleteButtonVisible property to hide or show the ‘Delete’ command button.

Data Grid - Command buttons

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

Online Demo

Data Grid - Column Types

See Also