Questions tagged [jquery-dynatree]

Dynatree is a JavaScript tree view plugin for jQuery with support for persistence, keyboard, multiple selection, drag and drop, and dynamic Ajax loading.

Dynatree is a JavaScript tree view plugin for jQuery with support for persistence, keyboard, multiple selection, drag and drop, and dynamic Ajax loading.

Main features

  • Optimized for large dynamic trees (DOM elements are only created when really needed).
  • Programmable through a rich object oriented interface.
  • Support for lazy loading and Ajax.
  • Checkboxes and hierarchical selection
  • Supports drag and drop.
  • Support for persistence.
  • Keyboard aware.
  • Initializes from HTML code, JSON, or JavaScript objects.

Quick start

  • Include jQuery and dynatree libraries.
  • Add a element where the tree should appear.
  • Initialize the dynatree object when the page is loaded.

LINKS

104 questions
0
votes
1 answer

In jquery dynatree , class for node is removed when I click on lazy node

I am using jquery-dynatree with context-menu option. For one of the menu item on context-menu, I need to show the entire sub-tree as a selection. i.e. selected node and all its children, I am able to do that using below code…
Minesh
  • 2,226
  • 1
  • 11
  • 21
0
votes
1 answer

Dynatree Lazy Load Not Working

I'm creating a dynatree and loading the same data as provided in the example: http://wwwendt.de/tech/dynatree/doc/sample-lazy.html Only my lazy node (Sub-item 2.3 (lazy)) does not show as expandable, and onLazyRead() never fires.…
Kong
  • 7,648
  • 14
  • 58
  • 89
0
votes
1 answer

Dynatree how to send data back to the server on tree modifications

I am using Dynatree with ASP.NET and MVC4, I was able to Initialize Tree with the Data from Server end. My question is how i can send data back to server on certain tree modifications. (For example Edit Node, Cut Copy Paste, Drag drop etc.) Is there…
0
votes
5 answers

changing values of my directive in angular

I have this directive MyApp.directive('dynatree', function ($rootScope) { return { restrict: 'E', link: function postlink(scope, element, attrs) { $(element).dynatree({ onActivate: function (node) { …
climboid
  • 6,776
  • 14
  • 42
  • 68
0
votes
1 answer

Force Chrome to refresh display during javascript execution

I have to create a jQuery Dynatree. With my JavaScript, I build the different nodes of this Dynatree as I go along. The JavaScript execution takes a certain time. In Firefox, I get the result I want i.e. I see my Dynatree growing but in Chrome, I…
Johann
  • 437
  • 2
  • 7
  • 23
0
votes
1 answer

Create a node and add it as sibling node before another sibling with dynatree

I want to create programmatically a new node. Then I want to add this before another node as sibling. This code does not work: var node = $("#TreeDiv").dynatree("getActiveNode"); var nextSiblingNode = node.getNextSibling(); var childNode =…
Elisabeth
  • 18,252
  • 48
  • 179
  • 303
0
votes
2 answers

Dynatree + lazy loading = slow

I started using Dynatree in my project and I have one problem - it works very slowly when I try lazy reading. I found that my whole tree is re-rendered every time when I call addChild and I think it isn't efficient. Does anyone know what I can do…
JaSmin
  • 221
  • 2
  • 7
0
votes
1 answer

Dynatree.js how to get node selected in html using dyna.js

Im working on html form and I have used dynatree for select and multi-select as per requirement of the project. What I need to do is to make a edit form where user gets all the fields filled from database. Which means i need to show a user a…
Ali Raza
  • 1,155
  • 3
  • 14
  • 25
0
votes
1 answer

setSelectedNodes for jquery dynatree?

I'm trying to select nodes on an existing dynatree using jquery/javascript, I googled quite a bit about it and read the documentation but couldn't find anything like setSelectedNodes so I can select nodes based on the selections!! Am I missing…
Anupam
  • 961
  • 2
  • 17
  • 28
0
votes
1 answer

how to customise dynatree image?

I am using jquery dynatree plugin.(http://wwwendt.de/tech/dynatree/doc/samples.html) I am using its vista theme,I want instead of small triangle on the left(node expander symbol) of each folder,my custom image (a plus ) symbol to come. More over I…
Rajesh
  • 2,692
  • 8
  • 39
  • 67
0
votes
1 answer

Using and creation of Dynatree

I am using (jquery) dynatree with struts. The items on the tree will be created this way: On right click of a node, a context menu shows with options like [create, modify and delete]. On click of "Create", a pop up shows which contains input fields…
Uchenna Nwanyanwu
  • 3,114
  • 3
  • 30
  • 58
-1
votes
1 answer

Dynatree multi - selection implementaion ala Windows style

I would like to implement windows style multi-selection: when user holds CTRL key and selects several nodes of the tree. Dynatree (from here http://wwwendt.de/tech/dynatree/doc/dynatree-doc.html) by default has checkboxes for node selection which…
sarsnake
  • 23,178
  • 58
  • 166
  • 281
-1
votes
1 answer

How call outter javascript function from dynatree event

I use Jquery dynatree and I need call my function from dynatree event onSelect. Example: