Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Table node hiding behind Shape node. (Read 2279 times)
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
Table node hiding behind Shape node.
Apr 23rd, 2010 at 10:30am
Print Post  
Hi,
I have a table node which is attached to a shape node. I use the table node to show images on drop event. It worked fine, but now i could see the table node is behind the shape node and the images which i added dynamically goes behind and not displayed in the UI.

Is there a way in which i can force the table node to display on top. I tried setting the Zindex of the table node to an higher value than the shape node, but it didn't help.

Please help.
  

Castle Rider
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Table node hiding behind Shape node.
Reply #1 - Apr 23rd, 2010 at 11:46am
Print Post  
What ZIndex value are you setting? It should not be larger than diagram.Items.Count - 1, or otherwise the property setter ignores it.
  
Back to top
 
IP Logged
 
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
Re: Table node hiding behind Shape node.
Reply #2 - Apr 23rd, 2010 at 12:01pm
Print Post  
Hi,

I tried setting the Zindex of the ShapeNode to 0 and TableNode to 1.
  

Castle Rider
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Table node hiding behind Shape node.
Reply #3 - Apr 23rd, 2010 at 1:31pm
Print Post  
Are you setting them after the nodes have been added to the diagram? ZIndex cannot be set before that - it corresponds to the item's index within diagram.Items.
  
Back to top
 
IP Logged
 
venki5star
Junior Member
**
Offline



Posts: 82
Location: India
Joined: Mar 9th, 2010
Re: Table node hiding behind Shape node.
Reply #4 - Apr 23rd, 2010 at 2:34pm
Print Post  
Thanks Stoyan. It helped.
  

Castle Rider
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint