DxEditSettings.ValidationEnabled Property
Specifies whether the editor validates user input.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public bool? ValidationEnabled { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Nullable<Boolean> | null |
|
Remarks
Set the ValidationEnabled
to false
to disable validation in auto-generated editors displayed in the Grid or TreeList component.
<DxGrid Data="@products" PageSize="4"
EditMode="GridEditMode.EditRow">
<Columns>
<DxGridCommandColumn />
<DxGridDataColumn FieldName="ProductID" DisplayFormat="00000">
<EditSettings>
<DxSpinEditSettings ValidationEnabled="false" />
</EditSettings>
</DxGridDataColumn>
<DxGridDataColumn FieldName="ProductName" />
<DxGridDataColumn FieldName="UnitPrice" DisplayFormat="c" />
<DxGridDataColumn FieldName="UnitsInOrder" />
</Columns>
</DxGrid>
Refer to the following topics for more information:
Implements
See Also