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
<template> | |
<div id="example"> | |
<div class="box"> | |
<h4>Information</h4> | |
<p> | |
The Upload can be used as a drop-in replacement | |
for file input elements. This "synchronous" mode does not require | |
special handling on the server. | |
</p> | |
</div> |
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
<template> | |
<div id="example"> | |
<div class="box wide"> | |
<div class="box-col"> | |
<h4>Expand / Collapse</h4> | |
<ul class="options"> | |
<li> | |
<button class="k-button" id="expandAllNodes" click.delegate="expandAllNodes()">Expand all nodes</button> | |
</li> |
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
<template> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<div ak-treeview="k-data-source.bind:homogeneousData; k-data-text-field.bind : 'FullName';" id="treeview"></div> | |
</div> | |
</div> | |
</template> |
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
<template> | |
<require from="./binding-to-local-data.css"></require> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<h4>Inline data (default settings)</h4> | |
<div ak-treeview="k-data-source.bind:defaultData" id="treeview-left"></div> | |
</div> | |
<div class="demo-section k-content"> |
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
<template> | |
<require from="./checkboxes.css"></require> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<div> | |
<h4>Check nodes</h4> | |
<div ak-treeview="k-data-source.bind: data; | |
k-checkboxes.bind: { checkChildren : true}; | |
k-widget.bind: treeview" |
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
<template> | |
<require from="./images.css"></require> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<h4>TreeView with images</h4> | |
<div ak-treeview="k-data-source.bind: imagesData" id="treeview-images"></div> | |
</div> | |
<div class="demo-section k-content"> | |
<h4>TreeView with sprites</h4> |
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
<template> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<h4>Treeview One</h4> | |
<div ak-treeview="k-data-source.bind : data; k-drag-and-drop: true"></div> | |
</div> | |
</template> |
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
<template> | |
<require from="./basic-use.css"></require> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<ul ak-treeview id="treeview"> | |
<li data-expanded="true"> | |
<span class="k-sprite folder"></span> My Web Site | |
<ul> | |
<li data-expanded="true"> | |
<span class="k-sprite folder"></span>images |
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
<template> | |
<ak-tree-list k-data-source.bind="dataSource" k-selectable.bind="true" k-widget.bind="treelist"> | |
<ak-tree-col k-field="FirstName" k-expandable.bind="true" k-title="First Name"></ak-tree-col> | |
<ak-tree-col k-field="LastName" k-title="Last Name"></ak-tree-col> | |
<ak-tree-col k-field="Position"></ak-tree-col> | |
<ak-tree-col k-field="Extension" k-title="Ext" k-format="{0:#}"></ak-tree-col> | |
</ak-tree-list> | |
<div class="box wide"> | |
<div class="box-col"> |
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
<template> | |
<require from="./logger.js"></require> | |
<ak-tree-list k-data-source.bind="dataSource" | |
k-on-edit.delegate="onEdit($event.detail.model)" | |
k-on-save.delegate="logger.log('save')" | |
k-on-remove.delegate="logger.log('remove')" | |
k-on-data-bound.delegate="logger.log('dataBound')" | |
k-on-data-binding.delegate="logger.log('dataBinding')"> | |
<ak-tree-col k-field="FirstName" k-expandable.bind="true" k-title="First Name" k-width.bind="250"></ak-tree-col> | |
<ak-tree-col k-field="LastName" k-title="Last Name"></ak-tree-col> |