UI controls for ASP.NET AJAX, MVC, WPF,Silverlight, Windows 8 and Windows Phone
Cross-platform Mobile Development Toolwith cloud-based architecture
Everything you need to build sites andmobile apps with JavaScript and HTML5
One easy tool for Functional, Performance,Load and Mobile software testing
Everything for your online business - contentmanagement, ecommerce, emarketing
Simple and intuitive project managementand collaboration software
15 Jun 2012 (Link to this post)
<div id=
"grid"
></div>
<script type=
"text/javascript"
>
$(
function
() {
var
units = [{ UnitId: 2 }, { UnitId: 5}];
ds =
new
kendo.data.DataSource({
// transport: {
// read: { url: 'http://localhost:6356/admin/GetUnitTogglesList' }
// },
data: units
});
ds.read();
// For test purpose:
alert(ds.data().length);
// show 2 - it's Ok
'#grid'
).kendoGrid({
dataSource: ds,
columns: [{ title:
"Unit Id"
, field:
"UnitId"
}]
</script>
19 Jun 2012 (Link to this post)
Copyright © 2011 - 2013 Telerik Inc. All rights reserved.