Skip to content

Instantly share code, notes, and snippets.

@debbief2112
debbief2112 / app.html
Last active November 11, 2016 21:55
Two-way binding
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<require from="aurelia-kendoui-bridge/common/notify-binding-behavior"></require>
<!-- note, you need to call .notifyBindingBehavior() in main.js -->
<ak-grid k-data-source.bind="datasource" k-widget.bind="grid" k-toolbar.bind="['create']" k-editable.bind="true"
k-scrollable.bind="scrollable">
<ak-col k-field="ProductName"></ak-col>
@debbief2112
debbief2112 / app.html
Last active November 14, 2016 18:34 — forked from gist-master/app.html
Two-way binding
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<require from="aurelia-kendoui-bridge/common/notify-binding-behavior"></require>
<!-- note, you need to call .notifyBindingBehavior() in main.js -->
<ak-grid k-data-source.bind="datasource" k-widget.bind="grid" k-toolbar.bind="['create']" k-editable.bind="true">
<ak-col k-field="ProductName"></ak-col>
<ak-col>