cubicweb/web/data/jquery-treeview/readme.md
author Philippe Pepiot <ph@itsalwaysdns.eu>
Tue, 31 Mar 2020 18:22:05 +0200
changeset 12966 6cd938c29ca3
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[server] Make connection pooler configurable and set better default values Drop the configuration connections-pool-size and add new configurations options: * connections-pool-min-size. Set to 0 by default so we open connections only when needed. This avoid opening min-size*processes connections at startup, which is, it think, a good default. * connections-pool-max-size. Set to 0 (unlimited) by default, so we move the bottleneck to postgresql. * connections-idle-timeout. Set to 10 minutes. I don't have arguments about this except that this is the default in pgbouncer.

# jQuery Treeview

Lightweight and flexible transformation of an unordered list into an expandable and collapsable tree, great for unobtrusive navigation enhancements. Supports both location and cookie based persistence.

Provides some options for customizing, an async-tree extension and an experimental sortable extension.

![screenshot](https://raw.github.com/jzaefferer/jquery-treeview/master/screenshot.png)

### Note that this project is not actively maintained anymore.  
Check out [jqTree](http://mbraak.github.com/jqTree/) for a more up to date plugin.

---

#### [Demo](http://jquery.bassistance.de/treeview/demo/)

#### [Download](https://github.com/jzaefferer/jquery-treeview/zipball/1.4.1)

#### [Changelog](https://raw.github.com/jzaefferer/jquery-treeview/master/changelog.md)


## Todo

### 1.5
- Add classes and rules for root items
- Lazy-loading: render the complete tree, but only apply hitzones and hiding of children to the first level on load
- Async treeview
  - Support animations
  - Support persist options


## Documentation

```javascript
.treeview( options )
```

Takes an unordered list and makes all branches collapsable. The "treeview" class is added if not already present. To hide branches on first display, mark their li elements with the class "closed". If the "collapsed" option is used, mark initially open branches with class "open".


## License

Copyright (c) 2007 Jörn Zaefferer

Dual licensed under the MIT and GPL licenses:

- http://www.opensource.org/licenses/mit-license.php
- http://www.gnu.org/licenses/gpl.html