Dynamic tree context menu

UI Components for Angular
Post Reply
rbasniak
Posts: 7
Joined: 04 Oct 2016, 02:52

25 Mar 2020, 17:35

Hi,

I need to change the contents of the context menu of a Tree based on the node type.

I can use the onNodeContextMenuSelect event and hide the menu items that shouldn't show.

But the problem is that some nodes shouldn't have a context menu at all. Is it possible to intercept the show event and interrupt it?

Thanks in advance,
Rodrigo

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: yirmot and 7 guests