【问题标题】:Get column headers of tree panel in extjs在extjs中获取树面板的列标题
【发布时间】:2013-02-23 06:46:54
【问题描述】:

谁能告诉我如何在单击特定列中的任何行时获取树面板的列标题名称(动态设置)。

我试过了:

handler: function(treepanel, rowIndex, colIndex) {
    treepanel.getColumnModel().getColumnAt(colIndex));
}

任何帮助将不胜感激。

【问题讨论】:

    标签: extjs4.1


    【解决方案1】:

    试试:

    treepanel.getView().getGridColumns()[colIndex]['name'];
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多