$('#tt').etree({         url: 'tree_data.json',         createUrl: ...,         updateUrl: ...,         destroyUrl: ...,         dndUrl: ...     }); ``` Set the url,">     $('#tt').etree({         url: 'tree_data.json',         createUrl: ...,         updateUrl: ...,         destroyUrl: ...,         dndUrl: ...     }); ``` Set the url," />
Easy Tutorial
❮ Jeasyui Datagrid Datagrid3 Jeasyui Tree Tree4 ❯

jQuery EasyUI Extension - Editable Tree


Usage

Create Tree

<ul id="tt"></ul>
    $('#tt').etree({
        url: 'tree_data.json',
        createUrl: ...,
        updateUrl: ...,
        destroyUrl: ...,
        dndUrl: ...
    });

Set the url, createUrl, updateUrl, destroyUrl, and dndUrl properties to automatically synchronize data between the client and the server.

Methods

This method extends from the tree, and below are the methods added for the editable tree (etree).

Name Parameters Description
options none Returns the options object.
create none Creates a new node.
edit none Edits the currently selected node.
destroy none Destroys the currently selected node.

Download jQuery EasyUI Example

jquery-easyui-etree.zip


❮ Jeasyui Datagrid Datagrid3 Jeasyui Tree Tree4 ❯