Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Groups within Groups (Read 2339 times)
srinivas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 41
Joined: Jul 27th, 2010
Groups within Groups
Sep 7th, 2010 at 7:09am
Print Post  
Hi,

We are using Diagramming control version 5.3.5 and trying to implement Groups within groups. I have a default group for the nodes of the diagram and I have to have groups within groups. Here I am finding issue selecting the inner group when added to existing default group of the workflow diagram.

I think the ZIndex is causing the issue as I am unable to select the node within an inner group box in the UI, it is always selecting the group box when I click on the node of inner group.

Please suggest a solution for this.

Regards
Velidanda
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Groups within Groups
Reply #1 - Sep 7th, 2010 at 7:22am
Print Post  
Does that inner node have higher ZIndex than the group node? I think attached nodes are drawn above parent nodes by default, but hit-testing is always done according to the ZIndex values.
  
Back to top
 
IP Logged
 
srinivas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 41
Joined: Jul 27th, 2010
Re: Groups within Groups
Reply #2 - Sep 7th, 2010 at 9:53am
Print Post  
Inner nodes have lesser ZIndex than Group node.

ZIndex of nodes attached to Group doesn't seem to have higher ZIndex though they are getting attached to Group node.

Do we need to explicitly set the ZIndex for the nodes which should be higher than Group node?

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Groups within Groups
Reply #3 - Sep 7th, 2010 at 11:31am
Print Post  
Yes, you'll have to set it explicitly.
  
Back to top
 
IP Logged
 
srinivas
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 41
Joined: Jul 27th, 2010
Re: Groups within Groups
Reply #4 - Sep 9th, 2010 at 2:36am
Print Post  
Thanks, got the zindex set during attaching the nodes to group but somehow it is getting changed when selecting the nodes within the group and playing with it and sometimes the group node getting unselectable.

Is there any chance that the zindex gets reset to some different value based on any other events that makes it unselectable?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Groups within Groups
Reply #5 - Sep 9th, 2010 at 8:00am
Print Post  
An item's ZIndex might change when setting ZIndex of another item, are you doing that in response to any selection events? ZIndex is actually the position of an item within the diagram.Items collection, whose elements' positions might shift with +/- 1 to adjust for the changed position of another element.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint