zhehu1 / fancytree

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

Home Page:http://wwwendt.de/tech/fancytree/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo Fancytree

GitHub version Build Status npm jsDelivr code style: prettier Released with: grunt-yabs StackOverflow: fancytree

Fancytree (sequel of DynaTree 1.x) is a JavaScript tree view / tree grid plugin with support for keyboard, inline editing, filtering, checkboxes, drag'n'drop, and lazy loading.

sample

Status

GitHub version See the change log for details.

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.

About

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

http://wwwendt.de/tech/fancytree/demo/

License:Other


Languages

Language:JavaScript 63.9%Language:CSS 20.5%Language:HTML 8.4%Language:Less 5.3%Language:CoffeeScript 1.7%Language:Python 0.2%