Hello,
I have a grid column below:
<GridColumn Field="@nameof(FD.Amt)" HeaderText="Total Amount" EditType="EditType.NumericEdit" Format="N2"
TextAlign="TextAlign.Right" Width="30">
<Template>
@{
var value = (context as FD);
var TotalAmount = "";
TotalAmount = (value.OnlineAmount + value.InterestAmount).ToString();
<div>@TotalAmount</div>
}
</Template>
<EditTemplate>
</EditTemplate>
</GridColumn>
Despite using FORMAT="N2", the grid result still shows the following
Please help,
regards
Sao