Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

jQuery dynatree widget for deform

Project Description

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.
Release History

Release History

This version
History Node

0.1dev

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
deform_widget_dynatree-0.1dev.tar.gz (296.3 kB) Copy SHA256 Checksum SHA256 Source Nov 29, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting