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
4
votes
0 answers

Why I got console warning FancytreeNode@... scrollIntoView(): node is invisible?

jquery.fancytree 2.31.0 jquery.fancytree.filter 2.31.0 I got console warning using filter: {mode: "dimm"} FancytreeNode@... scrollIntoView(): node is invisible. And when I changed the mode to filter: {mode: "hide"} and the search result would hide…
heero
  • 278
  • 4
  • 15
4
votes
1 answer

Error: Expected Doctrine\ORM\Query\Lexer::T_IDENTIFIER, got '*'

I am trying to generate a JSON File from nested Tree structure in symfony. It is used for jquery-fancytree. Therefore I am working on the sql query. But my RolesRepository gives out Error: Expected Doctrine\ORM\Query\Lexer::T_IDENTIFIER, got…
megadruck
  • 427
  • 1
  • 6
  • 13
4
votes
4 answers

Create directory tree in Perl that would comply with Fancytree expected JSON format

How to create directory tree in Perl to comply with Fancytree expected JSON format? This is the Perl part I came up with, that traverses through given path: sub get_tree { my ($gpath) = @_; my %r; use File::Find; my $c = sub { …
Ilia Ross
  • 13,086
  • 11
  • 53
  • 88
4
votes
2 answers

Fancytree update tree with new data

I've been trying to use reload() to update the tree to new data but the whole tree reloads which is not wanted. Just want that the nodes get updated with the new data which will contain child data for the nodes. I do not want to reload the whole…
user4818847
4
votes
1 answer

Dynamically change icon in fancy tree

I'm using fancy tree viewer. https://github.com/mar10/fancytree How to change the icon of a node dynamically based on an event.
Manoj Kumar
  • 289
  • 4
  • 12
4
votes
1 answer

Fancytree activate node on button click

I have a fancy tree solution on my website and i would like to have a button that will trigger a specific node. Can i activate a specific node from a button click or trigger it after the fancy tree has loaded? My fancytree code: …
Peter
  • 45
  • 1
  • 2
  • 6
4
votes
2 answers

Expand Tree to a specific level

How can I use node.setExpanded(true); to expand the tree only to a certain level? What I mean is that I've got 6 depth-levels and only want 5 to be expanded -- the last one should be excluded.
Andreas Zeiner
  • 537
  • 7
  • 24
4
votes
1 answer

How to have a link in a FancyTree

I try to use a fancytree. everything is displayed correctly but I can't have a link on the text of the node... why ? and how to solve that? I tried to put html link like this :
Vincent
  • 164
  • 2
  • 14
4
votes
3 answers

FancyTree load all nested children on select

Here's my issue. I'm using checkboxes and lazy load via ajax. However, if you were to check a parent item without expanding it, none of the child nodes have been loaded so they don't get checked. How can I load all child and nested child nodes under…
Michael Andrews
  • 194
  • 6
  • 16
4
votes
1 answer

Fancytree not expand node after reload

I'm working with fancytree. How can open a node (lazy) after it was reload in javascript? Code: node.load(forceReload = true); node.setExpanded(); When execute node.setExpanded() I get "Assertion failed" error. I think that the problem is…
4
votes
2 answers

Dynatree or Fancytree for production?

I am looking for a javascript solution which can unordered list to a treeview with checkboxes. So far the best one I have seen is Dynatree. However, looking at the page and the fiddle , I learned that there is a designated successor named…
developarvin
  • 4,940
  • 12
  • 54
  • 100
3
votes
2 answers

Fancytree: Event after new children (loaded via LacyLoad) visible in DOM

I use fancytree with lazyLoad. I'm looking for an event that fires AFTER new children loaded via lazyLoad are available in the DOM. var fancytree_options = { extensions: ["glyph"], checkbox: false, glyph:…
Sarah Trees
  • 822
  • 12
  • 28
3
votes
1 answer

Fancytree activateKey setting focus then scrolling to top dependant on key

I am finding that activateKey is not setting focus correctly depending on the key/node used. It is first setting focus but then scrolling back up to the top of the tree with the active/selected node not in view. The fiddle below works as…
mheptinstall
  • 2,109
  • 3
  • 24
  • 44
3
votes
1 answer

Fancy tree event for render completion

I am using the fancytree for my application. https://github.com/mar10/fancytree I can see the list of events from their plugin. http://wwwendt.de/tech/fancytree/doc/jsdoc/global.html#FancytreeEvents But I could not find an event for the following…
Jeeva J
  • 3,173
  • 10
  • 38
  • 85
3
votes
1 answer

Automatically load node children in fancytree

I have a fancytree implementation where each parent node has a child node that can be selected. After a user selects specific children, she is able to save her selections and settings so that she can come back to it later. I'm able to do all of…
Fletchius
  • 438
  • 4
  • 13
1
2
3
20 21