bumbeishvili / org-chart

Highly customizable org chart. Integrations available for Angular, React, Vue
https://stackblitz.com/edit/web-platform-o5t1ha
MIT License
913 stars 323 forks source link

Dynamically loaded data #194

Open AhmetIsk opened 2 years ago

AhmetIsk commented 2 years ago

Hi, i have large amount of data coming from different api endpoints so i would like to load my data dynamically when the expand (plus icon) is clicked on the node.

I tried to use onButtonClick function but it did not work. So how can load the data when expand button is clicked on a node?

bumbeishvili commented 2 years ago

There is no strict support for this feature currently and not sure when it will be added

You can track this issue #147

vinisakai commented 2 months ago

Hi, @bumbeishvili @AhmetIsk , i'm having the same problem. Did you find a solution? I tried to use onButtonClick but it didn't work too.

bumbeishvili commented 2 months ago

@vinisakai I did not have the use case, so don't have any working solution.

I've seen some implementations, so I am sure it's possible to use the current source code