Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我this._tree.getDataModel();在treevirtual 上执行qooxdoo 时,我只取回扩展的节点。如何获取树中的所有节点?
this._tree.getDataModel();
我自己找到了解决方案。getData() 函数提供数据模型中所有节点的数组。
var dataModel = this._tree.getDataModel(); var dataArray = dataModel.getData();