Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150117 | Dec 20,2019 10:25 PM UTC | Jan 2,2020 04:54 AM UTC | ASP.NET MVC - EJ 2 | 5 |
![]() |
Tags: Grid |
@Html.EJS().Grid("Grid").DataSource((IEnumerable<object>)ViewBag.DataSource).Columns(col =>
{
.
.
col.Field("Freight").HeaderText("Freight").ValidationRules(new { max = 99999.99, min = 0}).EditType("numericedit").Edit(new
{ @params = new Syncfusion.EJ2.Inputs.NumericTextBox(){
ValidateDecimalOnType = true,
Step = 1,
Decimals = 2,
Format = "C2"
} }).Width("160").Format("C2").Add();
.
.
}) |
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.