Questions tagged [jqtree]

JqTree is a jQuery tree widget

JqTree is a jQuery tree widget.

Features:

  • Create a tree from JSON data

  • Drag and drop

  • Works on ie7+, firefox 3.6+, chrome and safari

  • Written in Coffeescript

76 questions
0
votes
1 answer

Convert string to Javascript object for use in jqTree

I'm trying to use jqTree to render a collapsible tree to display data from a MySQL database via an ASP.NET project using AJAX. The Problem: I can successfully get the string containing the jqTree formatted data (which is not JSON even though they…
delliottg
  • 3,950
  • 3
  • 38
  • 52
0
votes
1 answer

how to add dynamic data to jq tree

i am getting json data from ajax response but when i am providing this data to jq tree its only printing one node. How to give data to jq tree to completely display a tree by for loop. Here is my sample…
Mayur
  • 1,123
  • 3
  • 22
  • 38
0
votes
1 answer

There any possibility to add data dropping a dom element into the tree

I want to enable the drag and drop to add child node but the child node is not into the tree. So I'm thinking in use draggable jquery ui function to drag a element into a jqtree node but I don't know how to capture the node dropped. Any ideas? EDIT…
vfabre
  • 1,388
  • 12
  • 23
0
votes
2 answers

Submitting JSP form data to servlet

I currently have this tree node which was created from http://mbraak.github.io/jqTree/. I am trying to implement this tree, so that when a user clicks on a node in the tree, it will send the data to my servlet. Is there any way to do this? I am…
user2541163
  • 717
  • 2
  • 7
  • 22
0
votes
1 answer

jqtree json data with php and mysql

How to generate json response to jqtree with php ? I have tried with json_encode, but it leaves a lot of extra data. I was wondering if somebody had already forced this door. How to achieve such structure: var data = [ { label: 'node1', …
0
votes
0 answers

JQ TREE Nodes not expanding

I created a JQ Tree where I have a nested set of nodes and their children. I have used the below way of populating the nodes in tree. var allNodes = new Array(); $.ajax({ type: "POST", url:…
Abi P
  • 1,410
  • 3
  • 22
  • 36
0
votes
1 answer

Fire event after component is built

I'm using jqTree in a project in this way: dynamically add 'p' elements with '.root' class to the page. when a button is clicked, call jqTree for each of the 'p.root' elements. after each li is added, add an id using the onCreateLi…
coding_hero
  • 1,759
  • 3
  • 19
  • 34
0
votes
1 answer

rails 3 JqTree Object has no method tree

I'm using rails 3.2 with jquery-rails 2.0.2 and jqtree-rails (0.1.5.0) The included javascript files looks like this in my html page: