hi,
I use p:tree as some sort of "navigation-menu" and i have 2 questsion about the new tree implementation:
a) it seems like i can't "unselect" a node which was possible with 2.2.1. So if i click a node which is already selected i want it to be unselected. is this possible with 3.x?
b) is it possible to disable selection completely? (if a node is selected i still use the select event, but the node should not be highlighted). of course i could change the style so that the selected nood looks the same as a normal node, but i still can't use the node again without clicking something else (because of a) )
any suggestions?
thanks in advance
p:tree - unselect
Yes, we know what you mean And you are right, tree in 2.2.1 was better in my opinion too. It seems tree in labs doesn't have selection at all. Gone by accident or a bug?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
thanks for your answer
i really like the appearence of the new tree and it works great so far, but i really miss the unselection-ability.
maybe i can do some javascript hack?
i really like the appearence of the new tree and it works great so far, but i really miss the unselection-ability.
maybe i can do some javascript hack?
PrimeFaces (Elite) 4.0.13, Majorra 2.1.28, Tomcat 7.0.53
Testing with Firefox, Chrome and IE9+IE10
<3 Primefaces!!!
Testing with Firefox, Chrome and IE9+IE10
<3 Primefaces!!!
-
- Information
-
Who is online
Users browsing this forum: No registered users and 48 guests