views:

21

answers:

1

I make a Ext tree ,every node contains a checked,every node has a "checkchange" listeners. If I choose a node ,how to make all its childNodes' checked selection to true? And how can I get all child leafNodes' id ?

A: 

In pure Ext you should just be able to do node.id, or node.attributes.id (I forget which) to get the node's ID. In terms of children then it's node.childNodes[*].id etc.

Lloyd