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.
Organization chart and Context menu
-
- Posts: 449
- Joined: 08 Aug 2018, 14:09
Hi,No123 wrote: ↑03 Nov 2019, 15:28So 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.
Can you provide stackblitz sample using with https://stackblitz.com/github/primeface ... e-template .