Created
December 13, 2014 14:57
-
-
Save roachhd/a46aebf14e52db311eb9 to your computer and use it in GitHub Desktop.
Example for Gist STYLIN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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