Organization chart and Context menu

UI Components for Angular
Post Reply
No123
Posts: 1
Joined: 03 Nov 2019, 15:18

03 Nov 2019, 15:28

So i'm new to ngprime and wanted to ask a few things i wasn't able to do-
In the organization chart, can i add events on the nodes? For example, right click event or double click. Or maybe add button on top of a node (like a plus button).

Also, in the context menu, i can't seem to bind it to the organization chart, i took the example from the primeng site and they did it with img but when i put an id on the org chart element and put it in the target input, i get the error: element[NATIVE_ADD_LISTENER] is not a function..

Thank you in advance, it will help me alot.

yigitfindikli
Posts: 352
Joined: 08 Aug 2018, 14:09

04 Nov 2019, 10:56

No123 wrote:
03 Nov 2019, 15:28
So i'm new to ngprime and wanted to ask a few things i wasn't able to do-
In the organization chart, can i add events on the nodes? For example, right click event or double click. Or maybe add button on top of a node (like a plus button).

Also, in the context menu, i can't seem to bind it to the organization chart, i took the example from the primeng site and they did it with img but when i put an id on the org chart element and put it in the target input, i get the error: element[NATIVE_ADD_LISTENER] is not a function..

Thank you in advance, it will help me alot.
Hi,

Can you provide stackblitz sample using with https://stackblitz.com/github/primeface ... e-template .

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests