Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<ul id=
"treeview"
>
<li data-expanded=
"true"
data-id=
"1"
>Item 1
<ul>
<li data-id=
"1.1"
>Item 1.1</li>
"1.2"
>Item 1.2</li>
"1.3"
>Item 1.3</li>
</ul>
</li>
"2"
>Item 2
"2.1"
>Item 2.1</li>
"2.2"
>Item 2.2</li>
"2.3"
>Item 2.3</li>
"3"
>Item 3</li>
<script>
$(document).ready(
function
() {
$(
"#treeview"
).kendoTreeView({
select:
(e) {
alert($(e.node).data(
"id"
));
}
});
</script>