or
$("#tblCompanies").kendoGrid({ dataSource: new kendo.data.DataSource({ type: "json", transport: { read: { url: "http://192.168.1.33:8090/pumpSystem/getProdCompanyList", dataType: "json", type: "GET" }, update: { url: "http://192.168.1.33:8090/pumpSystem/updateProductionCompany", dataType: "json", type: "POST" }, create: { url: "http://192.168.1.33:8090/pumpSystem/addProductionCompany", dataType: "json", type: "POST" } }, schema: { model: { id: "Id", fields: { Id: { type: "number", editable: false }, CompanyId: { type: "number", validation: { required: true, min: 1} }, Name: { type: "string", validation: { required: true} }, isEnabled: { type: "boolean" } } } } }), columns: [ { field: "CompanyId", title: "CompanyID", width: "60px" }, { field: "Name", title: "Name", width: "150px" }, { field: "isEnabled", title: "Enabled", width: "60px" }, { command: ["edit"], width: "150px" } ], editable: "inline", toolbar: ["create"]});