Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Expand tomahawk tree based on search field.  RSS feed

Raghavendra nandavar
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

I have a question regarding tomahawk tree2 tag. I am using this tag for the display of hierarchical data. Each node contains an identifier and description. If I have a text which is keyed in from the front end, I will have to search the text in the tree hierarchy (compare with the node identifier) and if found, expand the tree upto that level. I tried tree.expandPath, but this method expects a nodePath information in the format 0:0:... Is it possible to get the nodePath based on the node identifier and then expand upto that level. I am using JSF 1.1.
Any help in this regard is highly appreciated.

Thank you.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!