Skip to content

Instantly share code, notes, and snippets.

@roachhd
Created December 13, 2014 14:57
Show Gist options
  • Save roachhd/a46aebf14e52db311eb9 to your computer and use it in GitHub Desktop.
Save roachhd/a46aebf14e52db311eb9 to your computer and use it in GitHub Desktop.
Example for Gist STYLIN
(function () {
// declare thee datasource outside of the grid
// so we can control which page of data to show
var dataSource = new kendo.data.DataSource({
type: 'odata',
transport: {
read: 'http://demos.kendoui.com/service/Northwind.svc/Orders'
},
pageSize: 20,
serverPaging: true
});
<body>
<div id="root" class="container"></div>
<script type="text/x-kendo-template" id="layout-template">
<ul data-role="menu">
<li>
<a href="#">Home</a>
</li>
<li>
<a href="#/orders">Orders</a>
</li>
<li>
<a href="#/products">Products</a>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment