|
||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
Item Positioning
Positioning of tree items is done automatically as in the Windows Explorer tree. Subitem is located below its parent with vertical offset itemoffset.y and horizontal offset itemoffset.x relative to parent position. These parameters (as other style parameters) can be defined for the whole tree and for individual items.
"style" : {
"itemoffset" : {
"x" : "30", "y" : "3"
}
}
Example - Tree PositioningYou can see an example and complete code here - Tree Positioning Example [popup] |
||||||||||||||||||||||
|
||||||||||||||||||||||
© CodeThat.com, 2003-2008 |
||||||||||||||||||||||