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

Dynatree is stuck loading the icon

I use dynatree to display a list of documents. When I load the template, the dynatree was stuck in the loading icon. What could be wrong? $("#tree").dynatree({ checkbox: true, selectMode: 2, initAjax: { url: "/getTree/", dataType: "json", …
0
votes
1 answer

How to get the node and Source node jQuery dynatree?

I am trying drag and drop option with jquery dynatree. Here upon drop of a node on another node I have to perform some db operation so I can call a function which makes ajax call. The problem I am facing is how to get node and source node when I…
Raghu
  • 1,324
  • 7
  • 24
  • 47
0
votes
1 answer

Selenium mouseOver images at child nodes using DynaTree

Thanks for taking the time to ready my questions. I need to mouseover then mousedown on an image (cog.png) for a specific node child represented by text to the right of an image. I can successfully Target the class but cannot work out how to target…
0
votes
1 answer

How to disable the cache of jquery dynatree (remembering previously selected node)?

I have created a tree structure (Dynatree). Here is the fiddel , it is nor working in fiddel may be some external links problem. But its working fine in my system. http://jsfiddle.net/raghavendram040/032Lp7s2/ My problem is when I refresh the…
Raghu
  • 1,324
  • 7
  • 24
  • 47
0
votes
1 answer

How to set specific images for each node in dynatree

Want to know how we can able to set specific image for each node in dynatree. I am getting one image from db as byte array in backend side and i am converting into Base64 String type and sending it through JSON object to client side and in the…
Uday Konduru
  • 203
  • 1
  • 4
  • 16
0
votes
1 answer

JQuery Dynatree - Rearrange the treeview based on the text field search

I would like to make the tree view for the account records. So, I have used the Dynatree to making the tree view. It is work fine. Now I owuld like to impletement the search feature. How to make the Dynatree filter in Visulforce page using…
Maninblack
  • 743
  • 1
  • 8
  • 17
0
votes
1 answer

filtering object HTMLSpanElement and add className to that object

This code alerting 1. object HTMLLIElement 2. object HTMLSpanElement. I only want to filter all object HTMLSpanElement and append className+='parent1' var htmlLabelElementObj = HtmlDocObj.getElementById(CurrentNodeId); var current =…
Paresh3489227
  • 845
  • 11
  • 22
0
votes
1 answer

Dynatree - disable (or hide) the checkboxes from the children nodes when a node is selected

I am using dynatree to select multi-nodes in a hierarchy of directories. So, I have investigated the behavior of all built-in options for selectMode, but, unfortunately, none of them resolves my problem: 1: single-selection (not my case) 2:…
falsarella
  • 12,217
  • 9
  • 69
  • 115
0
votes
3 answers

Using dynatree.js lazy loading, how to remove null child nodes( every last node in a branch is null)

I am new dynatree usage. Everything is cool and lazyload except showing last child as null for every branch. $("#tree").dynatree({ title: "Lazy loading sample", fx: { height: "toggle", duration: 200 }, autoFocus: false, initAjax: { …
0
votes
0 answers

Can't pass data to Dynatree

I can't pass data to Dynatree. I have a JS object: I am doing var data=JSON.stringify(treeData); I am getting this JSON…
Tamal Kanti Dey
  • 566
  • 2
  • 8
  • 28
0
votes
1 answer

How to allow clicking on row elements in dynatree

I want to render dynatree node with several checkboxes and select any, but when I click on checkbox, happens click on row, how can I disable click on row and enable clicking on elements, located in node?
uladzimir
  • 5,639
  • 6
  • 31
  • 50
0
votes
1 answer

Dynatree how to change url for children ajax

How can I change Url for ajax response for children? E.g. I have onLazyRead: function (node) { $.ajax({ url: "http://google.com" ... }) and load any children. I want by clicking on children click also load by…
uladzimir
  • 5,639
  • 6
  • 31
  • 50
0
votes
2 answers

JQuery Dynatree - How to search node with level delimiter?

I need to use a searching function for my dynatree and so I found this workaround: JQuery Dynatree - search node by name However, I need to have it search only up until my expanded node delimiter. (I am using jQuery ui-slider to dynamically set the…
0
votes
1 answer

Making Dynatree
  • unclickable
  • So, I've been using dynatree (http://wwwendt.de/tech/dynatree/doc/samples.html) with checkboxes for the listing of my data. Apparently, I wanted to remove the functionality that will let the checkboxes be clicked if
  • tag has been clicked. Been…
  • jellyfication
    • 170
    • 2
    • 12
    0
    votes
    1 answer

    Remove div with ajax not working

    When I click on a button, parent div is not deleted, nothing was called. My JavaScript part: