Skip to content

Instantly share code, notes, and snippets.

@AubieDawg92
AubieDawg92 / app.html
Last active April 6, 2017 11:41
Aurelia KendoUI component - problem report
<template>
<require from="aurelia-kendoui-bridge/panelbar/panelbar"></require>
<require from="my-element"></require>
<my-element groups.bind="myItems">
<panel-item field="name" />
</my-element>
</template>
@AubieDawg92
AubieDawg92 / app.html
Last active May 26, 2017 13:46 — forked from gist-master/app.html
Grid: command
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/grid/grid-command"></require>
<ak-grid k-no-init.bind="true" k-sortable.bind="true" k-scrollable.bind="true" k-allow-copy.bind="true" k-pageable.bind="{ refresh: true, pageSize: 5}" k-filterable.bind="true" k-scrollable.bind="true" k-selectable.bind="true" k-data-source.bind="datasource" view-model.ref="testgrid" k-on-data-bound.delegate="onDataBound($event.detail)">
<ak-col k-title="Details" k-width="300">
<ak-grid-command k-name="details" k-text="Details" k-click.call="details($event)"></ak-grid-command>
</ak-col>
<ak-col k-field.bind="column.field" repeat.for="column of columns" k-width.bind="column.width"></ak-col>