<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;
}
});
本文详细介绍了如何使用JavaScript的combotree组件结合onBeforeExpand事件,实现异步加载数据的过程。通过设置URL、面板高度及事件回调,动态加载并展示导航数据。
1765

被折叠的 条评论
为什么被折叠?



