【发布时间】:2015-03-25 14:30:40
【问题描述】:
- 存储为 Ext.data.TreeStore,网格为 Ext.tree.Panel。我们之前从后端构建了一棵树并将其传递给 treeStore。因此,当我按列扩展行时,该列值不会显示在其子节点中。
- 现在我使用lazyfill 加载一个节点的数据一次,我想隐藏其父级扩展的那些列文本。如果我设法获取单元格的行和列索引,我该怎么做?
-
以下代码在treeStore的监听器中:
load: function(treestore, node, records, successful, eOpts) { //get the column and row indexes of a node }, datachanged: function(view, eOpts){ //??select the cell with column and row indexes and hide it. }
提前致谢。
【问题讨论】:
标签: javascript lazy-loading extjs4.2