а

Angular support for org chart


#1

Hello,
New here. I am trying to add org chart feature(DHTMLX diagram library?) to my app in Angular.
Is there any native support for Angular? if so can you point me documentation? I am at Angular 7.

Thanks…


#2

Hello.

Here you can find a snippet, demonstrating initialization of the dhtmlx components on Angular:
https://files.dhtmlx.com/30d/1dc32ea05421882e98e21df7bcd723f1/angular-demo.zip


#3

Hello thanks for reply. However I am getting following errors on build:

ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.
node_modules/rxjs/internal/types.d.ts(82,52): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(82,88): error TS1005: ‘;’ expected.
node_modules/rxjs/internal/types.d.ts(82,92): error TS1109: Expression expected.


#4

Try updating the rxjs version in the package.json file to a version later than 6.0.0. I used “~6.3.3”, and I was able to build and run the demo.

Thank you sematik for the demo. I too was curious about using DHTMLX components in Angular.