Mindmap - select and dblselect won't work on "main" node

UI Components for JSF
Post Reply
luccotta
Posts: 9
Joined: 25 Mar 2015, 03:01

14 Feb 2020, 23:11

Hi,

Take the showcase as example (https://www.primefaces.org/showcase/ui/ ... dmap.xhtml).

I'd like that all nodes have the ability to be double clicked so the dblselect event is triggered.

Problem is, the main node can't be clicked.
For instance, "google.com", you can't click or double click, ok, that's because they set selectable as false in the bean.
Now click on "Malware" - now the main node is Malware, and it won't accept clicks or double clicks, even though it was created as selectable.

Is there any workaround I could use? I want the user to be able to double click on any node so a dialog opens with data details.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests