DxDataGridCommandColumn.NewButtonVisible Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true, to display the button; otherwise, false.

Remarks

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

Data Grid - Command buttons

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

Online Demo

Data Grid - Column Types

See Also