Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<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.