This file contains hidden or 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
<template> | |
<require from="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<require from="aurelia-kendoui-bridge/button/button"></require> | |
<p>This sample demonstrates how to save the state of the grid to localStorage, and how to restore it again. Reorder the columns and click Save. Then reload the page and click on Load, the column order is then restored</p> | |
<button click.delegate="save()" ak-button>Save</button> | |
<button click.delegate="reloadPage()" ak-button>Reload page</button> | |
<button click.delegate="load()" ak-button>Load</button> |
This file contains hidden or 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
<template> | |
<require from="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<ak-grid k-data-source.bind="datasource" | |
k-selectable="row" | |
k-widget.bind="grid"> | |
<ak-col k-title="ProductName" k-field="ProductName"></ak-col> | |
<ak-col k-title="Unit Price" k-field="UnitPrice" k-format="{0:c}" k-width="130px"></ak-col> | |
<ak-col k-title="Units In Stock" k-field="UnitsInStock" k-width="130px"></ak-col> |
This file contains hidden or 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
<template> | |
<require from="aurelia-kendoui-bridge/mediaplayer/mediaplayer"></require> | |
<div id="mediaPlayer" style="height:360px" | |
ak-mediaplayer="k-media.bind: { title: 'Recap of Progress', source: 'https://www.youtube.com/watch?v=tc3xhD24iTU' }; | |
k-auto-play.bind: true; | |
k-navigatable.bind: true; | |
k-widget.bind=mediaPlayer"> | |
</div> | |
</template> |
This file contains hidden or 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
<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> | |
<ak-grid k-data-source.bind="datasource" k-pageable.bind="pageable" k-sortable.bind="true" id="grid" > | |
<ak-col k-title="Product Name" k-field="ProductName" > | |
<ak-template for="groupFooterTemplate"> | |
Group Count: ${ProductName.count} | |
</ak-template> |
This file contains hidden or 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
<template> | |
<require from="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<ak-grid k-data-source.bind="datasource" | |
k-toolbar.bind="['excel']" | |
k-excel.bind="{ fileName: 'Kendo UI Grid Export.xlsx' }"> | |
<ak-col k-title="Contact Name" k-field="ContactName"> | |
</ak-grid> | |
</template> |
This file contains hidden or 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
<template> | |
<require from="aurelia-kendoui-bridge/multiselect/multiselect"></require> | |
<require from="aurelia-kendoui-bridge/button/button"></require> | |
<require from="aurelia-kendoui-bridge/common/template"></require> | |
<div id="example"> | |
<div class="demo-section wide k-content"> | |
<h4>'Multiple' tag template</h4> | |
<ak-multiselect k-placeholder="Select attendees..." k-auto-close.bind="false"> | |
<select multiple="multiple"> |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
<!-- put your view here --> | |
<template> | |
<require from='./products.css'></require> | |
<require from="aurelia-kendoui-bridge/listview/listview"></require> | |
<require from="aurelia-kendoui-bridge/common/template"></require> | |
<ak-list-view k-data-source.bind="dataSource" | |
k-widget.bind="listview" | |
click.trigger="onListviewSelect($event.target)" | |
id="listview"> |
This file contains hidden or 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
<template> | |
<require from="aurelia-kendoui-bridge/sortable/sortable"></require> | |
<div class="list-wrapper"> | |
<h3>Available</h3> | |
<ul id="sortable-listA" | |
ref="availablelist" | |
style="min-height: 250px; border : 2px solid;"; | |
ak-sortable="k-hint.call: availableHint($event); k-connect-with: #sortable-listB; k-placeholder.call: placeholder($event)"> | |
<li class="linked-list-item">item one</li> |
This file contains hidden or 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
<template> | |
<require from="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<ak-grid k-data-source.bind="datasource" | |
k-selectable="row" | |
k-on-change.delegate="rowSelected($event.detail)"> | |
<ak-col k-title="ProductName" k-field="ProductName"></ak-col> | |
<ak-col k-title="Unit Price" k-field="UnitPrice" k-format="{0:c}" k-width="130px"></ak-col> | |
<ak-col k-title="Units In Stock" k-field="UnitsInStock" k-width="130px"></ak-col> |