<kendo:treeView>
A JSP wrapper for Kendo UI TreeView.
Configuration Attributes
animation boolean
A collection of visual animations used when items are expanded or collapsed through user interaction. Setting this option to false will disable all animations. is not a valid configuration. Further configuration is available via kendo:treeView-animation.
Example
<kendo:treeView animation="animation">
</kendo:treeView>
autoBind boolean
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.
Example
<kendo:treeView autoBind="autoBind">
</kendo:treeView>
autoScroll boolean
If set to true the widget will auto-scroll the containing element when the mouse/finger is close to the top/bottom of it.
Example
<kendo:treeView autoScroll="autoScroll">
</kendo:treeView>
checkboxes boolean
If true or an object, renders checkboxes beside each node. Further configuration is available via kendo:treeView-checkboxes.
Example
<kendo:treeView checkboxes="checkboxes">
</kendo:treeView>
dataImageUrlField java.lang.String
Sets the field of the data item that provides the image URL of the TreeView nodes.
Example
<kendo:treeView dataImageUrlField="dataImageUrlField">
</kendo:treeView>
dataSpriteCssClassField java.lang.String
Sets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
Example
<kendo:treeView dataSpriteCssClassField="dataSpriteCssClassField">
</kendo:treeView>
dataTextField java.lang.Object
Sets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
Example
<kendo:treeView dataTextField="dataTextField">
</kendo:treeView>
dataUrlField java.lang.String
Sets the field of the data item that provides the link URL of the nodes.
Example
<kendo:treeView dataUrlField="dataUrlField">
</kendo:treeView>
dragAndDrop boolean
Disables (false) or enables (true) drag-and-drop of the nodes.
Example
<kendo:treeView dragAndDrop="dragAndDrop">
</kendo:treeView>
loadOnDemand boolean
Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to false causes all child DataSources to be loaded at initialization time.
Example
<kendo:treeView loadOnDemand="loadOnDemand">
</kendo:treeView>
template java.lang.String
Template for rendering each node.
Example
<kendo:treeView template="template">
</kendo:treeView>
Configuration JSP Tags
kendo:treeView-animation
A collection of visual animations used when items are expanded or collapsed through user interaction. Setting this option to false will disable all animations. is not a valid configuration.
More documentation is available at kendo:treeView-animation.
Example
<kendo:treeView>
<kendo:treeView-animation></kendo:treeView-animation>
</kendo:treeView>
kendo:treeView-checkboxes
If true or an object, renders checkboxes beside each node.
More documentation is available at kendo:treeView-checkboxes.
Example
<kendo:treeView>
<kendo:treeView-checkboxes></kendo:treeView-checkboxes>
</kendo:treeView>
kendo:treeView-items
Contains the items of the treeview widget
More documentation is available at kendo:treeView-items.
Example
<kendo:treeView>
<kendo:treeView-items></kendo:treeView-items>
</kendo:treeView>
kendo:treeView-messages
The text messages displayed in the widget. Use it to customize or localize the messages.
More documentation is available at kendo:treeView-messages.
Example
<kendo:treeView>
<kendo:treeView-messages></kendo:treeView-messages>
</kendo:treeView>
Event Attributes
change String
Triggered when the selection has changed (either by the user or through the select method).
For additional information check the change event documentation.
Example
<kendo:treeView change="handle_change">
</kendo:treeView>
<script>
function handle_change(e) {
// Code to handle the change event.
}
</script>
check String
Triggered after the user has checked or unchecked a checkbox. If checkChildren is true, the event is triggered after all checked states are updated. This event has been introduced in internal builds after 2014.2.828.
For additional information check the check event documentation.
Example
<kendo:treeView check="handle_check">
</kendo:treeView>
<script>
function handle_check(e) {
// Code to handle the check event.
}
</script>
collapse String
Triggered before a subgroup gets collapsed. Cancellable.
For additional information check the collapse event documentation.
Example
<kendo:treeView collapse="handle_collapse">
</kendo:treeView>
<script>
function handle_collapse(e) {
// Code to handle the collapse event.
}
</script>
dataBound String
Triggered after the dataSource change event has been processed (adding/removing items);
For additional information check the dataBound event documentation.
Example
<kendo:treeView dataBound="handle_dataBound">
</kendo:treeView>
<script>
function handle_dataBound(e) {
// Code to handle the dataBound event.
}
</script>
drag String
Triggered while a node is being dragged.
For additional information check the drag event documentation.
Example
<kendo:treeView drag="handle_drag">
</kendo:treeView>
<script>
function handle_drag(e) {
// Code to handle the drag event.
}
</script>
dragend String
Triggered after a node has been dropped.
For additional information check the dragend event documentation.
Example
<kendo:treeView dragend="handle_dragend">
</kendo:treeView>
<script>
function handle_dragend(e) {
// Code to handle the dragend event.
}
</script>
dragstart String
Triggered before the dragging of a node starts.
For additional information check the dragstart event documentation.
Example
<kendo:treeView dragstart="handle_dragstart">
</kendo:treeView>
<script>
function handle_dragstart(e) {
// Code to handle the dragstart event.
}
</script>
drop String
Triggered when a node is being dropped.
For additional information check the drop event documentation.
Example
<kendo:treeView drop="handle_drop">
</kendo:treeView>
<script>
function handle_drop(e) {
// Code to handle the drop event.
}
</script>
expand String
Triggered before a subgroup gets expanded.
For additional information check the expand event documentation.
Example
<kendo:treeView expand="handle_expand">
</kendo:treeView>
<script>
function handle_expand(e) {
// Code to handle the expand event.
}
</script>
navigate String
Triggered when the user moves the focus on another node
For additional information check the navigate event documentation.
Example
<kendo:treeView navigate="handle_navigate">
</kendo:treeView>
<script>
function handle_navigate(e) {
// Code to handle the navigate event.
}
</script>
select String
Triggered when a node is being selected by the user. Cancellable.
For additional information check the select event documentation.
Example
<kendo:treeView select="handle_select">
</kendo:treeView>
<script>
function handle_select(e) {
// Code to handle the select event.
}
</script>
Event Tags
kendo:treeView-change
Triggered when the selection has changed (either by the user or through the select method).
For additional information check the change event documentation.
Example
<kendo:treeView>
<kendo:treeView-change>
<script>
function(e) {
// Code to handle the change event.
}
</script>
</kendo:treeView-change>
</kendo:treeView>
kendo:treeView-check
Triggered after the user has checked or unchecked a checkbox. If checkChildren is true, the event is triggered after all checked states are updated. This event has been introduced in internal builds after 2014.2.828.
For additional information check the check event documentation.
Example
<kendo:treeView>
<kendo:treeView-check>
<script>
function(e) {
// Code to handle the check event.
}
</script>
</kendo:treeView-check>
</kendo:treeView>
kendo:treeView-collapse
Triggered before a subgroup gets collapsed. Cancellable.
For additional information check the collapse event documentation.
Example
<kendo:treeView>
<kendo:treeView-collapse>
<script>
function(e) {
// Code to handle the collapse event.
}
</script>
</kendo:treeView-collapse>
</kendo:treeView>
kendo:treeView-dataBound
Triggered after the dataSource change event has been processed (adding/removing items);
For additional information check the dataBound event documentation.
Example
<kendo:treeView>
<kendo:treeView-dataBound>
<script>
function(e) {
// Code to handle the dataBound event.
}
</script>
</kendo:treeView-dataBound>
</kendo:treeView>
kendo:treeView-drag
Triggered while a node is being dragged.
For additional information check the drag event documentation.
Example
<kendo:treeView>
<kendo:treeView-drag>
<script>
function(e) {
// Code to handle the drag event.
}
</script>
</kendo:treeView-drag>
</kendo:treeView>
kendo:treeView-dragend
Triggered after a node has been dropped.
For additional information check the dragend event documentation.
Example
<kendo:treeView>
<kendo:treeView-dragend>
<script>
function(e) {
// Code to handle the dragend event.
}
</script>
</kendo:treeView-dragend>
</kendo:treeView>
kendo:treeView-dragstart
Triggered before the dragging of a node starts.
For additional information check the dragstart event documentation.
Example
<kendo:treeView>
<kendo:treeView-dragstart>
<script>
function(e) {
// Code to handle the dragstart event.
}
</script>
</kendo:treeView-dragstart>
</kendo:treeView>
kendo:treeView-drop
Triggered when a node is being dropped.
For additional information check the drop event documentation.
Example
<kendo:treeView>
<kendo:treeView-drop>
<script>
function(e) {
// Code to handle the drop event.
}
</script>
</kendo:treeView-drop>
</kendo:treeView>
kendo:treeView-expand
Triggered before a subgroup gets expanded.
For additional information check the expand event documentation.
Example
<kendo:treeView>
<kendo:treeView-expand>
<script>
function(e) {
// Code to handle the expand event.
}
</script>
</kendo:treeView-expand>
</kendo:treeView>
kendo:treeView-navigate
Triggered when the user moves the focus on another node
For additional information check the navigate event documentation.
Example
<kendo:treeView>
<kendo:treeView-navigate>
<script>
function(e) {
// Code to handle the navigate event.
}
</script>
</kendo:treeView-navigate>
</kendo:treeView>
kendo:treeView-select
Triggered when a node is being selected by the user. Cancellable.
For additional information check the select event documentation.
Example
<kendo:treeView>
<kendo:treeView-select>
<script>
function(e) {
// Code to handle the select event.
}
</script>
</kendo:treeView-select>
</kendo:treeView>