All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
$(
"#save"
).click(
function
() {
localStorage[
"toExpand"
] = JSON.stringify($.map($(
"#treelist .k-i-collapse"
).closest(
"tr"
),
(val, idx) {
return
$(val).index() }));
});
"#load"
var
items = localStorage[
];
if
(items) {
items = JSON.parse(items);
tl = $(
"#treelist"
).data(
"kendoTreeList"
);
$.each(items,
(idx, val) {
tr = tl.content.find(
).eq(val);
tl.expand(tr);
})
}