5

Hi there i have just started using this jquery tree. and was wondering if there is any property I can set to make the connecting line visible all the time.

Keyur Padalia
  • 2,077
  • 3
  • 28
  • 55

1 Answers1

11

There isn't a property available in the options set connecting lines to visible all the time, but you can add a class to the object with the fancytree-container class to turn on connectors. If you want to have connections visible all the time, you could add the class to the fancytree-container right after you initialize the fancytree:

$("#tree").fancytree({
   // initialization options
});

$(".fancytree-container").addClass("fancytree-connectors");

This JSFiddle demonstrates how to toggle the fancytree-connectors class on the fancytree-container object.

mechenbier
  • 3,037
  • 23
  • 31