Created
February 3, 2016 16:46
-
-
Save JeroenVinke/fc6aa783a513f1a136f8 to your computer and use it in GitHub Desktop.
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
export class BasicUse { | |
pageable = { | |
refresh: true, | |
pageSizes: true, | |
buttonCount: 10 | |
}; | |
foo = 'bar'; | |
constructor() { | |
this.datasource = { | |
type: 'odata', | |
transport: { | |
read: '//demos.telerik.com/kendo-ui/service/Northwind.svc/Customers' | |
}, | |
pageSize: 5 | |
}; | |
} | |
} | |
<template> | |
<require from="./basic-use.css"></require> | |
<k-grid k-data-source.bind="datasource" k-pageable.bind="pageable" k-sortable.bind="true"> | |
<k-col title="Contact Name" field="ContactName">${foo}</k-col> | |
<k-col title="Contact Name" field="ContactName"></k-col> | |
<k-col title="Contact Title" field="ContactTitle"></k-col> | |
<k-col title="Company Name" field="CompanyName"></k-col> | |
<k-col field="Country"></k-col> | |
</k-grid> | |
</template> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment