or
<script> var isLoggedIn = false; var app = new kendo.mobile.Application($(document.body), { initial: "rootView" }); function verifyLogin() { app.navigate("http://192.168.1.129/Mobile/Account/Login"); }</script>$('#smallImage').attr('src', "data:image/jpeg;base64," + imageData);<img id="smallImage" width="100%" data-bind="attr: { src: Robot.Picture }">{"data":[{"toto":2,"name":"la valeur de i0"},{"toto":2,"name":"la valeur de i1"}],"count":1,"groups":[{"field":"toto","value":"2","items":[{"toto":2,"name":"la valeur de i0"},{"toto":2,"name":"la valeur de i1"}],"hasSubgroups":false,"aggragates":{}}]}var source = new kendo.data.DataSource({ type: "jsonp", transport: { read: "Home/GetResult" }, schema: { groups: "groups", total: "count", model: { fields: { toto: { type: "number" }, name: { type: "string" } } }, data: "result" }, serverGrouping: true }); $(document).ready(function () {
$("#grid").kendoGrid({ dataSource: source, height: 250, groupable: true, columns: [{ field: "toto", title: "toto", width: 100 }, { field: "name", title: "name", width: 100 } ] }); });