jQuery EasyUI API 中文文档 ComboTree组合树

2020-05-23 06:09:21易采站长站整理

扩展自 $.fn.combo.defaults 和 $.fn.tree.defaults。用 $.fn.combotree.defaults 重写了defaults。



依赖
combo
tree
用法
<select id=”cc” style=”width:200px;”></select>
<input id=”cc” value=”01″>

$(‘#cc’).combotree({
url:’tree_data.json’
});


特性


其特性扩展自 combo 和 tree,下列是为 combotree 重写的特性。















名称


类型


说明


默认值


editable


boolean


定义用户是否可以直接往文本域中输入文字。


false


事件


其事件扩展自 combo 和 tree。


方法


其方法扩展自 combo,下列是为 combotree 追加或重写的方法。
























名称


参数


说明


options


none


返回 options 对象。


tree


none


返回 tree 对象。


loadData


data


加载本地的 tree 数据。


reload


url