0 0

extjs 树获取checkColumn列选中的值5

 如题需求,目前完成页面如下:

怎么能获取某一列选中的树的id

例如:获取全部一列已经勾选的树的id

alert出(Product、彩色通稿、黑白通稿、RS以及体育专线等节点的id)

谢谢。

2013年5月15日 18:01
  • 大小: 20.3 KB

2个答案 按时间排序 按投票排序

0 0

递归调用

treePanel.getRootNode().cascadeBy( Function fn, [Object scope], [Array args] )

fn : Function
The function to call

scope : Object (optional)
The scope (this reference) in which the function is executed. Defaults to the current Node.

args : Array (optional)
The args to call the function with. Defaults to passing the current Node.


递归调用就行了
function(node) {
node就是当前行
}

2013年5月15日 20:47
0 0

tree grid?

2013年5月15日 19:24

相关推荐

Global site tag (gtag.js) - Google Analytics