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
3
votes
1 answer

Does fancytree have an event that indicates it has completely loaded the data in the tree?

I want to know if in any way figure out that fancytree is completely finished loading data and the component is fully loaded so i can change its options. Currently I am trying to change selectMode (from 3 to 2 for example) but when I do so data will…
arvind
  • 189
  • 3
  • 19
3
votes
0 answers

How to set parent of children if the property `parent` is null

I have json data return from server and it has property of 'parent', I want that node to be the parent of node create,edit and delete. so the output will be the first level is "admin" ,since produce parent is null I want to put under "admin" , then…
jemz
  • 4,987
  • 18
  • 62
  • 102
3
votes
2 answers

Get All node from fancytree plugin

I am trying to got list of all node from tree, when click button outside tree. I got list of all selected node from tree, but having problem with got list of all node from tree. Here is my code: $(document).on('click', '.del', function () { var…
BCM
  • 665
  • 5
  • 20
3
votes
3 answers

fancytree not loading json data

I am attempting to use fancytree to display some data returned from a php rest service. The data returned by the service has been validated via JSONLint and it appears in the format shown in the fancytree docs. If I have the developer tools window…
user917051
  • 65
  • 6
3
votes
1 answer

Using XML data instead of JSON data in Fancytree

Does someone tried this already, I mean does someone made already a 3rd-party/extensions or patch for this? The ajax XHR object supports reading of XML data, but I guess Fancytree would need some changes or a extensions to support this format?
BitWalker
  • 31
  • 2
3
votes
2 answers

How to sort fancytree nodes with folders at the top

I've reviewed the docs and examples for fancytree for hours soaking up all of fancytree's goodness like a sponge but I can't seem to figure how to sort my fancytree object with folders first by using the API calls. I've initially got around the…
Todd Hammer
  • 183
  • 1
  • 9
3
votes
2 answers

jquery - fancy tree - no data present

I am using jquery fancy tree to represent a tree in my web app. https://github.com/mar10/fancytree Here's my code as below. The issue is, when the source URL /documents/folders, returns an empty list, I would like my html to show the text "No…
sethu
  • 8,181
  • 7
  • 39
  • 65
2
votes
0 answers

FancyTree DnD how to allow only drop into valid folders and not outside of parent

I have a fancytree table which has A Main Folder A Child and a child of a child. below is what I would like to achieve Static(Folder) -> Not Droppable | Cycles(Folder) -> Not Droppable | [0] -> (folder) -> Able to drop into …
Shredderx
  • 45
  • 1
  • 6
2
votes
1 answer

Where to initialize jquery for laravel

I am trying to add the drag and drop functionality to my fancy tree. However, there seem to be an issue with where i am initializing the jquery library resulting in error messages indicating that the jquery function i am trying to use is not…
Yeo Bryan
  • 331
  • 4
  • 24
2
votes
0 answers

How to stop automatic scroll when reloaded through fancytree library?

I am using a library of js fancytree to which I want to populate the data on reload, but along with this I'm encountering an issue i.e. my page is scrolling which I don't want. Here is my line of…
SHIVAM SHARMA
  • 364
  • 3
  • 14
2
votes
1 answer

How to get click on selected FancyTree node to activate again?

If I click on my fancytree menu nodes they activate dialog boxes that appear next to the menu. These have cancel buttons that make the dialog close. However, when I click on the same menu item (node) again the same dialog box does not appear again…
Alex Kerr
  • 956
  • 15
  • 44
2
votes
2 answers

Is it possible to pagination on fancytree?

Right now I have to render a lot of documents on the same page and I am using francytree Issue: Performance MY Thinking : Is fancytree provide a pagination functionality or not?
Savan Javia
  • 309
  • 4
  • 14
2
votes
2 answers

Problem with multiple reloads of fancytree

I have a journal app where I have a fancytree showing the journal entries for the user logged in. Below that tree, I have another fancytree with a dropdown above it that lets you select other users and browse their journal entries. Once you select…
G.Price
  • 75
  • 6
2
votes
1 answer

fancytree - sortable getting the order of nodes, sorting in same nest level only

I am using fancytree with sortable extensions and I found 2 problems which I am trying to fight for hours. Maybe someone might help me. The goal is to be able to sort between elements in the same nest level, but now I am only able to sort root…
piotrruss
  • 417
  • 3
  • 11
2
votes
1 answer

Fancytree is open and how are all selected by default?

My fancytree looks like the following. It is running but i want to add some features, first page load all checkbox is selected and all tree opened. How can i do it? $("#definition-tree").fancytree({ checkbox: true, …
Erman
  • 192
  • 1
  • 3
  • 14
1 2
3
20 21