Root tree node display

UI Components for JSF
Post Reply
troesler
Posts: 1
Joined: 04 Nov 2010, 15:23

04 Nov 2010, 15:51

Hi,

is it possible to display the root tree node in a tree? I've noticed in the examples, as well as in my tests, that the root node is not displayed. I was looking for a flag which I might have to set, but I have not found any.

Regards,

Thomas

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

04 Nov 2010, 22:09

Hi,

No, it's not possible. PF uses Yahoo TreeView. You should add an artificial node as root node. Search the forum to see answers to this problem.
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

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 59 guests