2013-11-22 99 views
0

我有几个节点具有保存值(例如,标记为删除)。我怎样才能得到他们所有的人? FindChild能给我只是第一个节点,因为我可以看到... 这部分是从文档:extjs:获取具有特定值的许多节点

findChild(attribute, value, [deep]) : Ext.data.NodeInterface 

Finds the first child that has the attribute with the specified value. 

我有一个treeStore,其中一个可以检查删除一些内容,然后单击“保存”按钮。之后,我想拥有所有选中的元素。用findChild方法,我可以得到其中的第一个:

...store.getRootNode().findChild('delete', true, true) 

我应该怎么做才能让它们全部得到?

+0

请说明更好。很难理解你在说什么。 –

回答

相关问题