Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TemplatedNode and Tree Layout (Read 2715 times)
jackalexander
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Sep 24th, 2011
TemplatedNode and Tree Layout
Oct 31st, 2011 at 9:37am
Print Post  
I am using a TemplatedNode in a Diagram with a Tree Layout.  I want to use NodesExpandable, but the (+) buttons don't appear automatically.  How do I define these in the TemplatedNode please?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TemplatedNode and Tree Layout
Reply #1 - Oct 31st, 2011 at 10:30am
Print Post  
There is an Expandable property that you can set on individual nodes. If the base TemplatedNode constructor does not initialize it from the NodesExpandable value, try setting it yourself from the custom node constructor.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jackalexander
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Sep 24th, 2011
Re: TemplatedNode and Tree Layout
Reply #2 - Oct 31st, 2011 at 8:50pm
Print Post  
Hi Stoyan, Thanks - that did the trick.  "NodesExpandable" was set, but each node needs "Expandable" to be set as well.   Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint