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
1
vote
1 answer

jqtree not showing custom attributes

In the jqtree docs, it says you can add custom attributes to the data: You can also include other data in the objects. You can later access this data. For example, to add an id: { label: 'node1', id: 1 } I am sending it JSON that looks…
coding_hero
  • 1,759
  • 3
  • 19
  • 34
1
vote
1 answer

java script filling up an array so it matches following structure

lets say i want to start with empty value of variable data, how can to achieve this result with javascript using push method: var data = [ { label: 'node1', children: [ { label: 'child1' }, { label: 'child2' } ] …
Игор
  • 355
  • 3
  • 10
  • 24
1
vote
6 answers

jqTree shows undefined for valid json

I am trying to use the jqTree from http://mbraak.github.io/jqTree/#tutorial my page is Json Parser
jackyesind
  • 3,343
  • 14
  • 47
  • 74
1
vote
1 answer

How to add a child node with jqTree

I'm trying to add a new node into an existing node in jqTree (http://mbraak.github.io/jqTree/), but I'm stumped. If I have a tree like this -A -B -C -C1 -C2 -D ...and want to add a new node as a child node of B, how do I do it? The…
MadSkunk
  • 3,309
  • 2
  • 32
  • 49
1
vote
1 answer

How to save effect of drag on drop in jqtree

I am using drag and drop support of jqtree http://mbraak.github.io/jqTree/examples/drag_and_drop.html but that effect is temporarily how to save changes ??
Nalini Wanjale
  • 1,717
  • 4
  • 19
  • 24
1
vote
1 answer

using jqtree and jquery ui tabs

I'm trying to create a document managment with editor and stuff. I got following code:
Chris West
  • 741
  • 13
  • 36
0
votes
1 answer

Preventing the jqTree UI from displaying the option to drop into node for some nodes

I have the following: $('#sidebar-tree').tree({ data: data, autoOpen: false, dragAndDrop: true, selectable: false, closedIcon: $(''), openedIcon: $('
BLAZORLOVER
  • 1,971
  • 2
  • 17
  • 27
0
votes
1 answer

jqTree getSelectNode Function

I'm new to jqTree. I am trying to use the function: getSelectedNode found here: jqTree functions I have my tree working and being displayed using my own data as well as the sample data within this function: $(function() { …
Vince
  • 1,405
  • 2
  • 20
  • 33
0
votes
0 answers

How to add jqTree on jqGrid search form

I use jqGrid on my page and use jqTree (https://mbraak.github.io) for Division property. On search form for the property I create jqTree element in that function: var divisionTreeInit = function(elem) { console.log("divisionTreeInit"); …
Karabass
  • 1
  • 2
0
votes
0 answers

Jquery not reloading div after modal closes

I have this function to that loads data into my tree view. I am using JQTree to do this: function loadTree() { $.ajax({ url: "@Url.Action("DisplayChildren", @ViewContext.RouteData.Values["controller"].ToString())", method:…
JianYA
  • 2,750
  • 8
  • 60
  • 136
0
votes
1 answer

nested set save to database

I'm trying to implement jqTree with Laravel app. Controller gets data and return view: public function index() { $categories = Category::get(['id', 'name', '_lft', '_rgt', 'parent_id'])->toTree(); return view('category.index', [ …
simke
  • 5
  • 1
  • 6
0
votes
1 answer

jQtree positioning issue in electron app

I am trying to use jqtree in an Electron application. I have been able to get it to do everything I need it to do. However, I am running into a problem with positioning it on the window. My index.html file looks like this:
melston
  • 2,198
  • 22
  • 39
0
votes
0 answers

Page load is slow after authentication in mvc

I am using Jqtree plugin to load a tree view in my mvc4 application, the view consists of a list of names sorted in alphabatical order. everything is working fine but the page load is taking lot of time. Controller code: public class HomeController…
PSC
  • 1
  • 3
0
votes
1 answer

jqGrid Tree expand node on DragNDrop over

i have 2 Grids(*#list1, #list2*)and want to Drag something from *#list2* to *#list1*. When Hovering over an node, the node expand like this . I still have to draggable element on Cursor and when im focusing row 3, it should focus setSelection on…
0
votes
1 answer

jQueryUI+jQtree, call to method in nested list calls parent and child method

I am developing file manager in ASP.NET MVC and using jQuery, and when I expand list and Drag and drop item in treeview, it calls method moveItem from parent and from child, and I want it only to call from child. Here my code, and you can see…