BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<div id="Grid" data-bind="ejGrid: { dataSource: dataSource, columns: column, toolbarSettings: { showToolbar: true, customToolbarItems: [{ templateID: '#ToolbarButtonNew' }, { templateID: '#StatusRender' }], toolbarItems: [ej.Grid.ToolBarItems.PrintGrid, ej.Grid.ToolBarItems.ExcelExport] }, allowSorting: true, allowPaging: true, allowFiltering: true, filterSettings: { filterType: 'menu', filteredColumns: [{ field: 'Status', operator: 'equal', value: '1', predicate: 'and' }] }, allowGrouping: true, allowTextWrap: true, create: 'create', locale: 'pt-BR', queryCellInfo: 'querycellinfo', sortSettings: { sortedColumns: [{ field: 'DeliveryDate', direction: ej.sortOrder.Ascending }]}, toolbarClick: function (e) { this.exportGrid = this['export']; if (e.itemName == 'Excel Export') { this.exportGrid('/Servicos/OrdemServico/ExcelExport') e.cancel = true; } } }"> </div> window.baseView = { dataSource: ej.DataManager({ url: '@Url.Action("KODataSource")', adaptor: "UrlAdaptor" }), column: [ { headerText: "Ações", template: true, templateID: '#CustomCommand', width: '12%' }, { field: "Id", headerText: "Código" }, { field: "CustomerId", foreignKeyField: "Id", foreignKeyValue: "Name", dataSource: listCustomers , headerText: "Clientes" }, { field: "CreationDate", headerText: "Prazo Criação", format: "{0:dd/MM/yyyy HH:mm}" }, { field: "DeliveryDate", headerText: "Data de Entrega", format: "{0:dd/MM/yyyy HH:mm}" }, { field: "EmployeeExecutionId", foreignKeyField: "Id", foreignKeyValue: "Name", dataSource: listExecutor, headerText: "Executor" }, { field: "TotalPrice", headerText: "Valor Total", format: "{0:c}" }, { field: "DescriptionStatus", headerText: "Pendencias", allowFiltering:false } ] }; ko.applyBindings(baseView); |
[AcceptVerbs(HttpVerbs.Post)] public ActionResult KODataSource(DataManager clsDataManager) { BaseResult<WorkOrder> clsData = WorkOrderBusiness.GetAllWithBaseRelations(clsDataManager); ResultModel result = new ResultModel(); result.result = clsData.Result; result.count = clsData.Count; return Json(result, "application/json", Encoding.Default, JsonRequestBehavior.AllowGet);
} |
1) Screen shot of grid after format property is removed.
2) Screen shot of data transfer from server to client from developer tool. For example please find the below image.
Regards,
Isuriya R
Hi Cristiano,
We considered this “UTC date is changed while using the ejGrid” as an issue and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Regards,
Isuriya R