or
<div id="example" class="k-content"> <div id="clientsDb"> <div id="grid" style="height: 380px"></div> </div></div>$(document).ready(function() { $("#grid").kendoGrid({ dataSource: { type: "odata", transport: { }, schema: { model: { fields: { OrderID: { type: "number" }, Freight: { type: "number" }, ShipName: { type: "string" }, OrderDate: { type: "date" }, ShipCity: { type: "string" } } } }, pageSize: 10, serverPaging: true, serverFiltering: true, serverSorting: true }, height: 250, filterable: true, scrollable: true, sortable: true, pageable: true, columns: [{ field:"OrderID", filterable: false }, "Freight", { field: "OrderDate", title: "Order Date", width: 350, format: "{0:MM/dd/yyyy}" }, { field: "ShipName", title: "Ship Name", width: 250 }, { field: "ShipCity", title: "Ship City", width: 300 } ] }); });{"error": "Please use POST request"}<script id="fileGroupsItemTemplate" type="text/x-kendo-template"> <table> <tr><td> <img src="#= data.Image#" /> </td><td style="vertical-align: middle"> #= data.Name # </td> </tr> </table> #if(data.Docs.length > 0){# <ul> #for(var i=0; i < data.Docs.length; i++){# <li> <a >#=data.Docs[i].Name# <input data-on-label="Cl" data-off-label="Sk" data-role="switch" #=data.Docs[i].NeedProcess ? "checked='checked'" : ""# /></a> </li> #}# </ul> #}#</script>$("#idExplorerReal").kendoWindow({ actions: ["Expand", "Custom", "Close"], draggable: true, height: "500px", width: "300px", minHeight: 500, minWidth: 250, modal: true, visible: true, resizable: true, title: "Explorer", close: onCloseWin});var kendoWindow = $("#idExplorerReal").data("kendoWindow");var vv = kendoWindow.wrapper.find(".k-i-custom");vv.click(function (e) { alert("custom");});var vv2 = kendoWindow.wrapper.find(".k-i-expand");vv2.click(function (e) { alert("expand");});
I'm testing very standard kendo charts, every time i click on the pie chart or any of the other charts, for example, i'm getting the "out of stack space" in the browser. Anyone else getting this?
$(document).ready(function () {
$("#piechart").kendoChart({
dataSource: ds_array
seriesDefaults: {
type: "pie",
labels: {
visible: true
}
},
title: {
text: "Monthly Revenue per Location"
},
legend: {
position: "bottom"
},
series: [{
field: "revenue",
categoryField: "location"
}],
tooltip: {
visible: true,
format: "N0"
}
});
});
var productTransport = new kendo.data.RemoteTransport({ read: { url: "http://localhost:1822/api/products", dataType: 'jsonp', type: 'GET' }});var datasource = new kendo.data.DataSource({ transport: productTransport}); $("#MyListView").kendoMobileListView({ dataSource: datasource, template: kendo.template($("#listviewHeadersTemplate").html()) });