Skip to content

JavaScript tree view / tree grid plugin with support for keyboard, inline editing, filtering, checkboxes, drag'n'drop, and lazy loading

License

Notifications You must be signed in to change notification settings

mar10/fancytree

Folders and files

NameName
Last commit message
Last commit date
May 20, 2023
Apr 11, 2019
May 20, 2021
Sep 24, 2021
Sep 9, 2024
Feb 25, 2025
Sep 24, 2021
Jun 30, 2022
Feb 25, 2025
Sep 9, 2024
Apr 16, 2019
Jan 19, 2019
Sep 11, 2020
Apr 27, 2019
Apr 19, 2019
Oct 4, 2018
Feb 1, 2014
Jan 26, 2020
Jan 4, 2025
Dec 27, 2024
Feb 1, 2023
Jan 4, 2025
Dec 27, 2024
Apr 12, 2019
Oct 29, 2017
Mar 22, 2020
Jun 26, 2024
Dec 27, 2024
Oct 18, 2020

Repository files navigation

logo Fancytree

GitHub version npm jsDelivr StackOverflow: fancytree

Fancytree is a JavaScript tree view / tree grid plugin with support for keyboard, inline editing, filtering, checkboxes, drag'n'drop, and lazy loading.

NOTE

Fancytree is considered feature-complete.
The code is still maintained and bugfixes will be commited. However do not expect new major features.

For a modernized and more capable alternative, consider upgrading to Wunderbaum.

Demo

sample

Get Started

ES6 Quickstart

import $ from "jquery";

import 'jquery.fancytree/dist/skin-lion/ui.fancytree.less';  // CSS or LESS

import {createTree} from 'jquery.fancytree';

import 'jquery.fancytree/dist/modules/jquery.fancytree.edit';
import 'jquery.fancytree/dist/modules/jquery.fancytree.filter';

const tree = createTree('#tree', {
  extensions: ['edit', 'filter'],
  source: {...},
  ...
});
// Note: Loading and initialization may be asynchronous, so the nodes may not be accessible yet.

See module loader support and API docs.

Credits

Thanks to all contributors.