or
{"GetDocumentsResult":[{"AnnoEsercizio":2013,"BatchID":636614,"CustomerDocumentTypeID":401,"Data":"\/Date(1366236000000+0200)\/","FileExtension":".jpg","FollowUp":{"Fk_ID_ressol":11,"FollowUp1":"\/Date(1367877600000+0200)\/","FollowUp2":null,"FollowUp3":null,"Id":4,"Note":null},"Frequenza":"MENSILE","Id":4,"Nota":null,"ObjectID":"1","PathBuildingRuleID":9,"Piva":"xdfdff","RagioneSociale":"Kellner","RepositoryRegistrationDate":"\/Date(1358463600000+0100)\/","Stato":"OK"},{"AnnoEsercizio":2013,"BatchID":636614,"CustomerDocumentTypeID":401,"Data":"\/Date(1361142000000+0100)\/","FileExtension":".jpg","FollowUp":null,"Frequenza":"MENSILE","Id":5,"Nota":null,"ObjectID":"2","PathBuildingRuleID":9,"Piva":"xdfdff","RagioneSociale":"Kellner","RepositoryRegistrationDate":"\/Date(1366236000000+0200)\/","Stato":"OK"},{"AnnoEsercizio":2013,"BatchID":636614,"CustomerDocumentTypeID":401,"Data":"\/Date(1363561200000+0100)\/","FileExtension":".jpg","FollowUp":null,"Frequenza":"MENSILE","Id":6,"Nota":null,"ObjectID":"3","PathBuildingRuleID":9,"Piva":"xdfdff","RagioneSociale":"Kellner","RepositoryRegistrationDate":"\/Date(1366236000000+0200)\/","Stato":"OK"},{"AnnoEsercizio":2013,"BatchID":636614,"CustomerDocumentTypeID":401,"Data":"\/Date(1366236000000+0200)\/","FileExtension":".jpg","FollowUp":null,"Frequenza":"MENSILE","Id":7,"Nota":null,"ObjectID":"4","PathBuildingRuleID":9,"Piva":"xdfdff","RagioneSociale":"Kellner","RepositoryRegistrationDate":"\/Date(1366236000000+0200)\/","Stato":"DA VERIFICARE"},{"AnnoEsercizio":2013,"BatchID":636614,"CustomerDocumentTypeID":401,"Data":"\/Date(1357081200000+0100)\/","FileExtension":".jpg","FollowUp":null,"Frequenza":"TRIMESTRALE","Id":11,"Nota":null,"ObjectID":"6","PathBuildingRuleID":9,"Piva":"12345678901","RagioneSociale":"Alessio","RepositoryRegistrationDate":"\/Date(1366236000000+0200)\/","Stato":"OK"}]}---hirearchicaldatasource-----Master._resSolDataSource = new kendo.data.HierarchicalDataSource({ transport: { read: { beforeSend: function (xhr, s) { s.data = JSON.stringify(Master._filter); }, type: "POST", url: _rootUrl + 'wcf/ResponsabilitaSolidaleService.svc/getdocuments', contentType: "application/json; charset=utf-8", dataType: "json" } }, schema: { data: "GetDocumentsResult", model: { id: "Id", fields: { Id: { type: "number" }, Piva: { type: "string" }, RagioneSociale: { type: "string" }, Data: { type: "date" }, AnnoEsercizio: { type: "number" }, Frequenza: { type: "string" }, Stato: { type: "string" } }, children: "FollowUp" } }, group: { field: "RagioneSociale", dir: "asc" } });------and in the grid-----$("#adminGrid").kendoGrid({ ........, ...other code...., ....., columns: [{ field: "Id", hidden: true }, { field: "Piva", title: "Partiva IVA" }, { field: "RagioneSociale", title: "Ragione Sociale" }, { field: "Data", format: "{0:dd/MM/yyyy}" }, { field: "AnnoEsercizio", title: "Anno esercizio" }, { field: "Frequenza" }, { field: "Stato" }, { command: [ { name: "download", click: Master.download }, { name: "followup", click: Master.followup } ], title: " " }, { field: "FollowUp[0].FollowUp1", //<--FollowUp seems to be null title: "fu1 child" }] });function anonymous(data) {var o,e=kendo.htmlEncode;with(data){o='<tr data-uid="'+(data.uid)+'" role=\'row\'><td class="k-group-cell"> </td><td style="display:none" role=\'gridcell\'>'+e(data.Id==null?'':data.Id)+'</td><td role=\'gridcell\'>'+e(data.Piva==null?'':data.Piva)+'</td><td role=\'gridcell\'>'+e(data.RagioneSociale==null?'':data.RagioneSociale)+'</td><td role=\'gridcell\'>'+e(kendo.format("{0:dd/MM/yyyy}",data.Data==null?'':data.Data))+'</td><td role=\'gridcell\'>'+e(data.AnnoEsercizio==null?'':data.AnnoEsercizio)+'</td><td role=\'gridcell\'>'+e(data.Frequenza==null?'':data.Frequenza)+'</td><td role=\'gridcell\'>'+e(data.Stato==null?'':data.Stato)+'</td><td role=\'gridcell\'><a class="k-button k-button-icontext k-grid-download" href="#"><span class=" "></span>download</a><a class="k-button k-button-icontext k-grid-followup" href="#"><span class=" "></span>followup</a></td><td role=\'gridcell\'>'+e(data.FollowUp.FollowUp1==null?'':data.FollowUp.FollowUp1)+'</td></tr>';}return o;}<div data-role="view" data-title="Art de inventario" data-layout="layout_inventory" data-init="filterableInventoryList" data-model="inventoryModel"> <ul id="inventoryList" data-role="listview" > </ul></div><script id="inventoryTemplate" type="text/x-kendo-template"> <div class="row"> <img class="pullImage" src="#=Photo#" />#= Name # <div class="metadata"> <span class="sublink" >Código : #=Code#</span> </div> </div></script>function filterableInventoryList(e){ var wid = $(window).width(); var dataSource = new kendo.data.DataSource({ pageSize: 12, serverPaging: true, serverFiltering: true, transport: { read:{ url: localStorage.getItem("url") + "GetInventoryItems", dataType: "json", contentType: "application/json; charset=utf-8" }, parameterMap: function(options) { var b = selectMenuModel.get("branch"); var filter = options.filter ? options.filter.filters[0].value : ""; var parameters = { url: JSON.stringify(localStorage.getItem("url")), width : wid, branchId : JSON.stringify(b.Branch_Id), q: JSON.stringify(filter), count: options.pageSize, page: options.page } return parameters; } }, schema: { // describe the result format data: "d", // the data which the data source will be bound to is in the "results" field model : { ... }, change: function() { //check whether any data is returned if (!this.view()[0]) { //disable endless scroll $("#inventoryList").data("kendoMobileListView").stopEndlessScrolling(); } } }); $("#inventoryList").kendoMobileListView({ dataSource: dataSource, template: $("#inventoryTemplate").text(), filterable: { filterable: true, placeholder: "Buscar Item..." }, endlessScroll: true, scrollTreshold: 30 //treshold in pixels }); }define(['jquery', 'kendo', 'Helpers/TemplateLoader'], function ($, kendo, loader) { var viewModel = null; var accountSession = null; var init = function () { //Create the View. loader.loadTemplate("login"); var template = kendo.template($("#login").html())({}); $("#adbrain").html(template); //Create the DataSource. accountSession = new kendo.data.DataSource( { transport: { read: { url: "/accountSession" }, create: { url: "/accountSession", type: "POST" } } } ) //Create the ViewModel. viewModel = kendo.observable( { username: { value: "", enabled: true }, password: { value: "", enabled: true }, button: { enabled: true }, error: "", doSubmit: function (event) { //Prevent the default action. event.preventDefault(); //Clear the error. this.set("error", ""); //Disable all controls. this.set("username.enabled", false); this.set("password.enabled", false); this.set("button.enabled", false); //Animate the Adbrain logo. $("#login_loading_stable").addClass("hidden"); $("#login_loading").removeClass("hidden"); accountSession.add({UserName: this.username.value, Password: this.password.value}); accountSession.sync(); } } ); //Bind View and ViewModel together. kendo.bind($("#login_form"), viewModel); } var doLogin = function () { alert("login"); } return { init: init, doLogin: doLogin } })<script type="x-kendo-template" id="login" class="template"> <form id="login_form" data-bind="events: { submit: doSubmit }"> <div class="group"> <img id="login_loading_stable" src="../../Images/login-logo.png" /> <img id="login_loading" class="hidden" src="../../Images/a-loader.gif" /> <div class="entity"> <div class="cell label"> <label for="username_input">Username</label> </div> <div class="cell field"> <input id="username_input" name="UserName" type="text" data-bind="enabled: username.enabled, value: username.value" /> </div> </div> <div class="entity"> <div class="cell label"> <label for="password_input">Password</label> </div> <div class="cell field"> <input id="password_input" name="Password" type="password" data-bind="enabled: password.enabled, value: password.value" /> </div> </div> <input id="login_button" type="submit" data-bind="enabled: button.enabled" value="Login"/> </div> <p id="error_message" class="error" data-bind="text: error"></p> </form></script>