mbraak / jqTree

Tree widget for jQuery
https://mbraak.github.io/jqTree/
Apache License 2.0
1.02k stars 177 forks source link

How to set navigation url in JQTree ? #274

Closed ChetanChaudhari03 closed 10 years ago

ChetanChaudhari03 commented 10 years ago

I have normal json data with lable & children but when I add html tag that is same populated so I'm in treble I want to add navigation so how can I add navigation?

mbraak commented 10 years ago

Hello Chetan,

You can solve this by setting the autoEscape option to false.

Also see the Example 6 - autoEscape.

Greetings, Marco

ChetanChaudhari03 commented 10 years ago

Thanks Marco I solved that issue but now i'm facing another issue.

I'm able to change closedIcon using Image tag of html but not able to change for openedIcon.

So Can you help me for that?

Following is my example url go throw that and please reply me on here. http://jsfiddle.net/chetanchaudhari03/hzvQ6/9/

Thanks, Chetan.

mbraak commented 10 years ago

Hello Chetan,

It's indeed possible to use html for toggle buttons. This feature is available in the dev branch of jqTree, not in version 0.20.

I also see that you use next.png for the openedIcon and closedIcon options.

See issue 266 for an example.

Marco