When you set the default open property of the tree to true, the icons next to the folders show plus sign although the folder is already open.
Logged In: YES user_id=1467482 Originator: NO
Hi, in the showNode function just set the state attribute to "open". here is the code snippet:
function showNode(treeNode,lastNode) { linestring = treeNode.getLineString(); var state = getState(treeNode.getID());
// Hakan add-on if(showAllNodesOnStartup) { state = 'open'; } // end of Hakan add-on
var str; ....
Log in to post a comment.
Logged In: YES
user_id=1467482
Originator: NO
Hi, in the showNode function just set the state attribute to "open".
here is the code snippet:
function showNode(treeNode,lastNode) {
linestring = treeNode.getLineString();
var state = getState(treeNode.getID());
// Hakan add-on
if(showAllNodesOnStartup) {
state = 'open';
}
// end of Hakan add-on
var str;
....