Expand/Collapse Issue


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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


Eric Sweet
Eric Sweet
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
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search