您的位置:首页 > 产品设计 > UI/UE

EasyUI Combotree 实现异步加载树节点

2015-01-25 00:00 330 查看
摘要: EasyUI Combotree 实现异步加载树节点

<tr>
<th>父导航名称</th>
<td>
<input id="R_SID" name="R_SID" value="${(record.R_SID!)!}" data-options="required:true">
</td>
</tr>

通过onBeforeExpand实现异步加载。

$('#R_SID').combotree({
url: "${WEBPATH!}/bo/eSYS_NAV/tree.html",
panelHeight: '180px',
onBeforeExpand: function (node) {
$('#R_SID').combotree("tree").tree("options").url = "${WEBPATH!}/bo/eSYS_NAV/tree.html?R_SID=" + node.id;
}
});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  EasyUI Combotree