@jkeippel wrote:
I started with the static org chart and have tweaked some options, but ultimately have a tree layout. Is there a way to bind the width of parent nodes to have their left and right bounds match the outer bounds of their left and right most children? Right now I have code that finds the root, finds the first child and last child, and sets the width of the parent to the right bound of the right most child node minus the left bound of the left most child node. This works well, but I want every parent to effectively umbrella all of it's children. If I recurse from the lower left most child node up to the root(s) with the code I have now, I'm sure that would accomplish what I want, but I was hoping there was a way to bind it at initial layout. Hopefully what I'm trying to do is clear enough without an example image, but I'm happy to provide one if necessary. Thanks!
Posts: 4
Participants: 3