Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149715 | Dec 6,2019 11:13 AM UTC | Dec 12,2019 11:05 AM UTC | Blazor | 3 |
![]() |
Tags: Grid |
<EjsGrid DataSource="@Orders" Height="315" AllowPaging="true" Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Update", "Cancel" })">
. . . . . . . . . .
<GridColumn Field=@nameof(Order.Freight) HeaderText="Cost" TextAlign="TextAlign.Center" Format="N2" Width="10%" ValidationRules="@(new { required = true, min = ValidateValue })"></GridColumn>
</GridColumns>
</EjsGrid>
@code{
public List<Order> Orders { get; set; }
public int ValidateValue = 95;
. . . . . . . ..
} |
|
Thank you for your answer!
But to be more clear, I need to compare and validate between cost and actual cost column by the cost must be greater than actual cost and validate while editing.
Here's the screenshot of example.
Thanks,
Puriphat Sinananlert.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.