Tree控件

    $('#partyOrgTree').tree({
        checkbox: false,
        url: getDataUrl,
        onClick: function (node) {
            getDivisionFS(node.id);
        },
        onBeforeExpand: function (node) {
            $('#partyOrgTree').tree('options').url = getChildDataUrl + node.id;
        }
    });

ComboTree控件

    $('#divisionCombotree').combotree({
        url: getDataUrl,
        onBeforeExpand: function (node) {
            $('#divisionCombotree').combotree('tree').tree('options').url = getChildDataUrl + node.id;
        }
    });

 

posted on 2017-05-09 10:14  新小弦  阅读(1989)  评论(0编辑  收藏  举报