This release is a pre-release and may not be stable for production use.
deform_widget_dynatree
Dynatree is a JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, drag’n’drop, and lazy loading.
deform_widget_dynatree exposes some of its features as a widget for the deform form generation library.
REST API
deform_widget_dynatree depends on a REST API you have to implement on the server side. This API only needs to implement a single method that responds to GET requests with 2 optional parameters:
key Key of the node for wich children are requested.
mode Can be either root or branch.
If mode is branch only the children of the requested node have to be returned (as a list of JSON objects):
[ 'child1': { 'key': '1', 'title': 'One', }, 'child2': { 'key': '2', 'title': 'Two', }, ] If ``mode`` is ``root`` the result must contain the children of the requested node (same as with ``branch``) as well as all parent nodes with their siblings:: [ 'child1': { 'key': '1', 'title': 'One', 'children': [ 'subchild1': { 'key': '11', 'title': 'Sub One', 'children': [ 'subchild11': { 'key': '111', 'title': 'Subsub One', }, }, 'subchild2': { 'key': '12', 'title': 'Sub Two', }, ], }, 'child2': { 'key': '2', 'title': 'Two', }, ]
CHANGES
0.1
Initial release.
Metadata
Release files for deform_widget_dynatree 0.1dev
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deform_widget_dynatree-0.1dev.tar.gz | 296.3 kB | Details |
Release files / deform_widget_dynatree-0.1dev.tar.gz
| Download URL | deform_widget_dynatree-0.1dev.tar.gz |
|---|---|
| Size | 296.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1ea5d4c842dbea4620ea7014693ed9c0a33412be6197651a3a5d21b2624f530
|
|
BLAKE2b-256 checksum How to use checksums |
2bbb9ac1f3a776b4a73b4d74a37c65e6fb642245235fe33951a27de54c7ad7d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |