or
dataSource: { transport: { read: { url: "http://localhost:52916/Service1.svc/getdocumentdetail/"+e.data.SaleDocId, dataType: "json", type: "GET" }, update: { url: "http://localhost:52916/Service1.svc/updateDocumentDetails", dataType: "json", type: "POST" }, parameterMap: function(data, operation) { if (operation != "read") { // web service method parameters need to be send as JSON. The Create, Update and Destroy methods have a "products" parameter. return JSON.stringify({ docLines: data.models }) } else { return JSON.stringify(data); } } }, schema: { data: "GetDocumentDetailResult", total: "GetDocumentDetailResult.length", model: { id: "SaleDocId", fields: { SaleDocId: { type: "number", editable: false, nullable: true}, Line: { type: "number", editable: false}, Item: {type: "string", editable: false}, Location: { type: "string", editable: false}, Description: {type: "string", editable: false}, Qty: {type: "number", editable: true, validation: { min: 0}}, ItemWeight: { type: "number", editable: true, validation: { min: 0}}, GrossWeight: { type: "number", editable: false} } } },<OperationContract> <WebInvoke(Method:="POST", ResponseFormat:=WebMessageFormat.Json, RequestFormat:=WebMessageFormat.Json, BodyStyle:=WebMessageBodyStyle.Wrapped, UriTemplate:="updateDocumentDetails")> Function UpdateDocumentDetails(ByVal docLines As IEnumerable(Of wsDocumentDetail))<DataContract()> _Public Class wsDocumentDetail Inherits wsDocument Private m_Description As String = String.Empty Private m_Item As String = String.Empty Private m_Line As Integer = 0 Private m_Qty As Integer = 0 Private m_GrossWeight As Double = 0 Private m_ItemWeight As Double = 0 Private m_Location As String = String.Empty Private m_QtaSede As Integer = 0 Private m_Payment As String = String.Empty Private m_Port As String = String.Empty Private m_NoOfPacks As Integer = 0 Private m_Carrier1 As String = String.Empty Private m_ShipToAddress As String = String.Empty Private m_Transport As String = String.Empty.... all the get; set;Public Function UpdateDocumentDetails(ByVal docLines As IEnumerable(Of wsDocumentDetail)) Implements IService1.UpdateDocumentDetails'Do stuff hereend functionreturn JSON.stringify({ docLines: data.models })
var oldGantt = kendo.ui.Gantt;var GanttExtended = kendo.ui.Gantt.extend({ init: function(element, options) { oldGantt.fn.init.call(this, element, options); }, _footer: function() { this.footer = $([]); }});kendo.ui.plugin(GanttExtended);$('#gantt').kendoGantt({ footer: false});var Gantt = Widget.extend({ _footer: function() { if (!this.options.editable || !this.options.footer) { return; } ... },});