Guest User

Untitled

a guest
Nov 21st, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <template>
  2. <require from="aurelia-kendoui-bridge/grid/grid"></require>
  3. <require from="aurelia-kendoui-bridge/grid/col"></require>
  4. <require from="category"></require>
  5. <div id="example">
  6. <ak-grid k-pageable.bind="true" k-height.bind="500" k-toolbar.bind="['create']" k-editable.bind="true" k-data-source.bind="dataSource" k-on-ready.delegate="onReady($event.detail)">
  7. <ak-col k-field="ProductName" k-title="Product Name"></ak-col>
  8. <ak-col k-field="Category" k-title="Category" k-width="230px" k-editor.bind="categoryDropDownEditor" k-template.bind="categoryTemplate"></ak-col>
  9. <ak-col k-field="UnitPrice" k-title="Unit Price" k-format="{0:c}" k-width="130px"></ak-col>
  10. <ak-col k-command="destroy" k-title=" " k-width="150px"></ak-col>
  11. </ak-grid>
  12. <hr>
  13. <label>Category custom element alone</label><category combo-value.two-way="aValue"></category>
  14. <input type="text" value.bind="aValue">
  15. </div>
  16. </template>
Add Comment
Please, Sign In to add comment