Questions tagged [fancytree]

Fancytree is a JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, tables, drag'n'drop, and lazy loading.

Fancytree is a jQuery plugin that allows to dynamically create html tree view controls using JavaScript. It supports persistence, keyboard, checkboxes, tables (grid), drag'n'drop, and lazy loading.

Main features

  1. Optimized for large dynamic trees (DOM elements are only created when really needed).
  2. Programmable through a rich object oriented interface.
  3. Support for lazy loading and Ajax.
  4. Checkboxes and hierarchical selection.
  5. Supports drag and drop.
  6. Support for persistence.
  7. Keyboard aware.
  8. Initializes from HTML code, JSON, or JavaScript objects.
305 questions
0
votes
1 answer

Use glyphicons in fancytree (without plugin)

I saw the nice "glyph" plugin, but I have to assign to each node a different icon, depending on their attribute. I saw also I can set the icon for each node with the icon attribute, for example: node.data.icon = "relativePathTo/myIcon.png". How can…
riccardo.tasso
  • 978
  • 2
  • 10
  • 28
0
votes
1 answer

fancytree: is it possibile to enable drag and drop only between siblings?

the question is simple but I didn't found any similar to this. I'd like to enable fancytree with dnd plugin, but each node should maintain his own parent (if it's root he should remain root). Thanks, Riccardo
riccardo.tasso
  • 978
  • 2
  • 10
  • 28
0
votes
1 answer

how to show Loading image on binding dropdownlist data with fancy tree

On dropdownlist value change, im calling ajzx action to get the DB values and building DB values as Html (in controller) and onSuccess of Ajax the Html is appended to the an div. Till this the process is speed and i can get the data in few seconds.…
SunVigna
  • 77
  • 1
  • 3
  • 15
0
votes
1 answer

jquery fancytree load and check all child nodes on check

I'm using the fancytree plugin to create a treeview. All of my data is loaded on the expand via ajax and json. I also have code in to load child nodes if a user checks a parent node as they aren't technically loaded if that node isn't expanded…
Michael Andrews
  • 194
  • 6
  • 16
0
votes
1 answer

Fancytree can't use ext-edit with ext-dnd?

jQuery UI 1.11 + Fancytree 2.3.0 $("#tree").fancytree({ extensions: ["edit", "dnd"], edit{ ... }, dnd{ ... }, ... }); [DnD] Already effective. [Edit] [F2] - ignore. [Shift+Click] - effective. Couldn't F2 key when use dnd extension. Why…
0
votes
1 answer

Fancy Tree, clicking on different nodes auto collapses other selected nodes and sub nodes

I render a list which is transformed by Fancy Tree in a Jquery Dialog Box. I notice that if I select a sub node and close the tree meaning un-expand its parent node and close the dialog box. When I re-open the dialogbox when I click on a different…
tam tam
  • 1,870
  • 2
  • 21
  • 46
0
votes
1 answer

Fancytree ajax loading issue

When running the following jsp code, all I get is "loading..." and nothing happens. This is my first time using ajax with Fancytree. I tried a number of variations, even adding the ajax commented-out line, but no luck. I am using jquery-1.9.1 and…
Dave
  • 1
0
votes
1 answer

Fancytree: Remove nodes without children

I want to remove selected nodes and move all children to it's place. I use code: ref = $('#tree').fancytree("getTree"), searchIDs = ref.getSelectedNodes(); searchIDs.forEach(function(node){ $children = node.children; if…
0
votes
1 answer

Unable to expand node with toggleExpand() in FancyTree

I have a lazy loading tree which all works fine, however I need to be able to expand a particular node in jQuery. I've looked at the demo here but I whenever I try to call toggleExpand() I get the following error (on IE9 which is the target…
Jane S
  • 1,417
  • 16
  • 21
0
votes
1 answer

Fancytree load data from specific json element

I am using Laravel 4 and fancytree. I have an api call that return JSON data something like this : { "error":false, "survey_data":"[{ "id": 1, "type": "group", "subtype": null, "title": "General ", …
Dev
  • 6,570
  • 10
  • 66
  • 112
0
votes
1 answer

How to make string from pl/sql be seen as json response in an ajax call from FancyTree?

I'm having an issue while populating a FancyTree tree via the ajax call option. The source of the page and the tree data is PL/SQL package from an Oracle 10 database. I call tree_test.show_page and it uses htp.p to display this simple test page…
DaveKub
  • 983
  • 2
  • 19
  • 30
0
votes
1 answer

bind an object by ref to fancytree source, is possible?

i want to bind an object to the fancytree source by reference, so that when i change any property in that object will suddenly reflect on the tree var data = [ {title: "Node 1", key: "1"}, ]; $("#tree").fancytree({ autoCollapse: true, …
linto cheeran
  • 1,440
  • 1
  • 17
  • 30
0
votes
1 answer

Fancytree LazyLoad folder checkbox with multi-hier not working

Setup I am loading a directory tree via lazyload and have the checkboxes with multi-hier activated. Selection and deselection works fine, when i select a subfolder the parentfolder is automatically 'semi-selected', when i select/deselect a parent…
Larzan
  • 9,389
  • 3
  • 42
  • 41
0
votes
2 answers

Different contextMenu options in fancytree?

I'm using fancytree to display a simple treeview. There are two 'node types' in the tree: Groups (which can have children) and Items (which cannot have children). I'm trying to use the contextMenu extension to add functionality. There are three…
DaveKub
  • 983
  • 2
  • 19
  • 30
0
votes
1 answer

How to get jQuery FancyTree to call my method for data?

In my TestPage.aspx file I've got the following code: