or
$('#order_it').click(function(){ gridNewData.sync(); // this will send data to server});complete: function(xhr, textStatus) { if (textStatus == 'success') { orders.read(); // this will refresh orders, and grid too, a gridNewData.data([]); // empty that temp datasource }}var orders = new kendo.data.DataSource({ autoSync: false, transport: { read: { contentType: 'application/json', url: '/dokument/orders/', dataType: 'json', complete: function(xhr, textStatus) { // i think that here i need to get new synced items(or uids) } } }, schema: { model: { id: 'id' } }});<div style="width: 250px; float: left; vertical-align: top; margin: 0 0 auto 0;"> <div id="statuschart"></div></div><div style="width: 250px; float: left; vertical-align: top; margin: 0 0 auto 0;"> <div id="companychart"></div></div><div style="width: 250px; float: left; vertical-align: top; margin: 0 0 auto 0;"> <div id="divisionchart"></div></div><script> $('#statuschart').kendoChart({ name: "StatusChart", chartArea: { background: "transparent" }, title: { text: "Facility Status" }, series: [{ type: "pie", data: [ { category: "Active", value: 25 }, { category: "Abandoned", value: 35 }, { category: "Done", value: 40 } ], size: 150 }], legend: { position: "bottom" } }); $('#companychart').kendoChart({ name: "CompanyChart", chartArea: { background: "transparent" }, title: { text: "Top Companies" }, series: [{ type: "pie", data: [ { category: "Active111111111111", value: 25 }, { category: "Abandoned11111111111", value: 35 }, { category: "Done11111111", value: 40 } ], size: 150 }], legend: { position: "bottom" } }); $('#divisionchart').kendoChart({ name: "DivisionChart", chartArea: { background: "transparent" }, title: { text: "By Division" }, series: [{ type: "pie", data: [ { category: "Active111111111111", value: 25 }, { category: "Abandoned11111111111", value: 35 }, { category: "Done111111111111", value: 15 }, { category: "Another1111111111", value: 15 }, { category: "One1111111111", value: 10 } ], size: 150 }], legend: { position: "bottom" } });</script>