ng-organization-chart icon indicating copy to clipboard operation
ng-organization-chart copied to clipboard

Auto width and Template

Open AmanyAbdelkaderK opened this issue 7 years ago • 5 comments

Hi, i have two questions 1-can make width of org chart auto according to number of children? 2- can we use template in html?

AmanyAbdelkaderK avatar Aug 15 '17 16:08 AmanyAbdelkaderK

Really , we don't want wrap the Tree in second line , it's better to use scroll than wrap the tree

amabdelmongy avatar Aug 16 '17 11:08 amabdelmongy

How can we add the scroll, according to number of children, It is breaking come to end of the line if the children is more.

PrabakarKaruppasamy avatar Mar 28 '18 08:03 PrabakarKaruppasamy

got same issue, the playout was break when have more child node

tan-ngoc-fpt avatar May 31 '18 07:05 tan-ngoc-fpt

@HigorSilvaRosa same issue here. Would be great if there could be a fix for it. The component is awesome for many use cases. Thanks

stavrosicsd avatar Feb 01 '19 19:02 stavrosicsd

@HigorSilvaRosa just to clarify: if you go to your demo page and you zoom up to 250% you will see the ui breaks and some children are pushed down. The expectation would be that the ui does not break and a horizontal scrollbar takes care. The issue exists only horizontally. If you add children vertically the vertical scrollbar works as expected.

stavrosicsd avatar Feb 01 '19 19:02 stavrosicsd