`
旭少版
  • 浏览: 85384 次
  • 性别: Icon_minigender_1
  • 来自: 南宁
社区版块
存档分类
最新评论

jeecg随笔--combotree取得tree对象

 
阅读更多


var t = $('#combotree').combotree('tree'); // 得到树对象
var n = t.tree('getSelected'); // 得到选择的节点
t.tree('getChecked')



不能直接 combotree.combotree('getSelected');

但是如果只需要取得 选择的值 就可以直接

combotree.combotree('getValues');

getValues是 combo 的方法

getSelected 是 tree 的方法
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics