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

fancytree - change value of input in ul

Is it possible to change with jquery the value of an input which is embeded in an html list when a node is selected ? I try : php : echo '
  • '.$list_parcelle[$k]["Nom_parcelle_complet"].' …
  • GuenLM
    • 13
    • 4
    0
    votes
    1 answer

    Tree structure: validating depth level of tree

    I've build category tree using fancytree. Deepness of each node starting from root have to equal 4 so I may have: category subcategory 1 subcategory 2 subcategory 4 subcategory 5 subcategory 6 Script should allow to save to database only…
    webrama.pl
    • 1,870
    • 1
    • 23
    • 36
    0
    votes
    1 answer

    Fancytree jQuery plug-in does not handle multiple

    I have been working with the Fancytree jQuery plug-in written by Martin Wendt and it is fantastic. However, I've been struggling with one particular aspect. I'm using HTML rather than JSON for the data structure of the tree and discovered that it…
    Warren Rox
    • 655
    • 2
    • 8
    • 23
    0
    votes
    1 answer

    Fancytree lazyload: Why does empty result throw an error?

    I have a Fancytree for displaying a directory structure with files in it. Therefor I use the lazyLoad functionality of Fancytree which already works well. That means, if I click on a directory, it loads the contents via an AJAX request. If I have a…
    0
    votes
    2 answers

    fancytree folder depth limited - is there an option

    I was going to build a component based on jquery's fancytree but the folder depth is stuck at 3 no matter what I do to my source data. Is there some special Tree Option feature I have been unable to spot which will prevent the limitation? Thanks in…
    KevinY
    • 1,229
    • 1
    • 12
    • 27
    0
    votes
    1 answer

    Fancytree with multiple plugins

    I am using fancytree with the "edit", "dnd" and "contextMenu" plugins and there seems to be a conflict with the "edit" and the "dnd" plugins. I can run my page without the "edit" plugin and the drag/drop works well and I can run my page without the…
    whoopah
    • 159
    • 2
    • 11
    0
    votes
    1 answer

    Getting hold of source object in the context of using FancyTree (JS) and jqueryUI droppable

    We are using https://github.com/mar10/fancytree with its drag and drop extension. Users can drag and drop a node into a DIV marked using jqueryUI as droppable. Inside the 'drop' handler I see the (event, ui) parameters but I could not figure out…
    -1
    votes
    1 answer

    How to Convert Tree Structure List to Json

    I have query result like this : DEPT_NAME DEPT_R_IDX DEPT_IDX DEPT_LEVEL root 0 1 0 dept_0 1 2 1 dept_1 1 3 1 dept_1_0 3 4 2 dept_1_1 3 5 2 dept_2 1 6 1 dept_2_0 6 7 2 dept_2_0_1 7 8 3 DEPT_IDX is PRIMARY KEY, DEPT_LEVEL…
    -1
    votes
    1 answer

    Debugging help: preInit event fires but init does not and there is no error

    I'm trying to debug an issue where my fancytree integration fails to work. I have the same code working in other spots on my site, but in one case my tree does not load. I've turned on debugLevel to 4 and have been looking for events to determine…
    -1
    votes
    2 answers

    Fancytree - Generate tree with php

    I am using Fancytree, I want to generate a file/folder tree but excluding all folders that are not from the current user. Example: UPPERCASE = FOLDER lowercase = file I want to create a tree structure with the user "Peter" I have several…
    -1
    votes
    1 answer

    Returning only the filtered tree from fancytree

    Please help. This is probably very simple, but I've been stuck on it for days. As the title says, I want to get only the filtered tree including parent nodes in fancytree (for json purposes). I've looked at ext-filter, but it doesn't seem to…
    O. Coder
    • 21
    • 6
    -1
    votes
    1 answer

    HTML not populated unless clicked

    I create a fancytree object very simple, for the sake of the explanation it has just one node and 4 children, just one level and I don't use lazyLoad. In the code at runtime I see that until I don't click on the node to expand it, the html code of…
    NiBE
    • 857
    • 2
    • 16
    • 39
    -1
    votes
    1 answer

    fancytree css style for selected/expanded icon

    I'm creating a tree to select a folder for a file destination so it only supports single selection. The expanders are hidden and I have + or - on the folder icons. Clicking on the folder icon with will expand or collapse the tree. The folder icon as…
    -1
    votes
    1 answer

    Javascript variable values changing between two console.log() lines

    I'm using Fancytree, and I'm creating a new node using the ExtEdit extension. The title (main text) of the node appears to be set correctly, but the value consistently changes between two console.log() statements and the wrong value is being sent to…
    vaindil
    • 7,536
    • 21
    • 68
    • 127
    -1
    votes
    2 answers

    Stop Click callback when double clicked on node in Fancytree

    I want to the control to not go into Click callback when Double click on the node in fancytree
    1 2 3
    20
    21