Profile Picture

Expand/Collapse Issue

Posted By Eric Sweet 14 Years Ago
Author
Message
Eric Sweet
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 14, Visits: 1
Hi,

For an org chart application, I've added a button with functionality to allow my users to collapse all the "manager" shapes. It's basically just a for loop that flips the decorator toggle state for all shapes that have and incoming and outgoing arrow. The code works, but in some cases "employee" shapes get orphaned outside the collapsed "manager" tree. This only happens in cases where a manager has resources that include other managers (Nested managers). The nested manager's employees are the ones that end up orphaned outside the collapsed tree of managers. Is there something I'm doing wrong, or a better way to do this so that it doesn't happen?

Thanks,
Eric

Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi, Eric,

can you send your sample source code to support@nevron.com so that we'll be able to assist you better.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic