@(Html.EJ().Grid<SyncfusionMvcApplication23.OrdersView>("FlatGrid") .Datasource((IEnumerable<object>)ViewBag.datasource) .AllowScrolling() .AllowPaging() .Locale("pt-BR") /*Paging Enabled*/ .EditSettings(edit=>{edit.AllowAdding().AllowDeleting().AllowEditing(); }) .ToolbarSettings(toolbar => { toolbar.ShowToolbar().ToolbarItems(items => { items.AddTool(ToolBarItems.Add); items.AddTool(ToolBarItems.Edit); items.AddTool(ToolBarItems.Delete); items.AddTool(ToolBarItems.Update); items.AddTool(ToolBarItems.Cancel); }); }) .Columns(col => { col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Width(75).Add(); col.Field("CustomerID").HeaderText("Customer ID").Width(80).Add(); col.Field("EmployeeID").HeaderText("Employee ID").TextAlign(TextAlign.Right).Width(75).Add(); //col.Field("Freight").HeaderText("Freight").TextAlign(TextAlign.Right).Width(75).Format("{0:C}").Add(); col.Field("Freight").HeaderText("Freight").Format("{0:n}").EditType(EditingType.Numeric).Width(100).NumericEditOptions(new Syncfusion.JavaScript.Models.EditorProperties() { DecimalPlaces = 2, MaxValue = 99999999.99, Locale = "pt-BR", MinValue = 0 }).Add(); |
1. Are you using any Adaptors?
2. Any script throws in console?
3. Please tell me the value changing comma to dot while editing or after updating?
4. If possible, please share your issue reproducible sample or change the given sample to issue reproducible.
Regards,
Jayaprakash K.
Hi Carlos,
Please follow the incident that has been created under your account to track the status of this requirement. Please log on to our support website to check further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Regards,
Jayaprakash K.