Only allow selection of Tree node by left click

UI Components for JSF
Post Reply
becon123
Posts: 14
Joined: 08 Apr 2013, 16:51

16 Apr 2013, 19:27

A similar question has been asked here:

viewtopic.php?f=3&t=20408&start=20

However, in that question the user is using checkboxes and only wants the checkbox checked on left-click and not right.

My situation is that I am not using checkboxes, but rather just displaying the tree node with its text. I would like for the node to only become "selected" when the user clicks the left mouse button. On the right click I have the context Menu for the Tree node.

Is this possible? Essentially instead of binding "select" to TreeNode, I would like to bind "leftClick" to the Tree Node.

I am using PrimeFaces 3.5 on Apache Tomcat 7 with JRE 1.7. Thanks.

Thanks for any and all help.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot], Karcirway and 15 guests