This page requires JavaScript. Please make sure you have enabled this in your browser's settings.
lazyTree sample:
This sample shows
- Adding document and folder nodes using
addDoc()
and addFolder()
in the onload-event.
(Note that also documents may have children.)
- Hiding the main root using the
bRootVisible
flag.
- Using the
onSelect
callback to give feedback when a node is selected.
- Using the
bAutoCollapse
flag to make sure only one path is expanded at a time.
- Using
addLazyFolder()
and a onLazyRead
callback to implement a lazy folder sample.
- Using the extended node configuration to set custom icons and tooltips.
Also, any additional data can be passed and accessed in the callbacks using tn.data.attribute
.
(Please select a document.)
10:26:11.314 CLazyTree.initialize()
10:26:11.315 tree was created.
10:26:11.315 redraw...
10:26:11.316 redraw done.
(Remove the div-tag with id idLogPanel
to suppress debug output.)