当行eidtor聚焦到特定列时,ExtJs树面板 [英] ExtJs tree panel when row eidtor focus to particular column
本文介绍了当行eidtor聚焦到特定列时,ExtJs树面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在extjs中编辑一个treepanel行,我想要为所选行中的一个部分单元格移动四个和鼠标光标。
请帮忙me。
解决方案
你可以在监听器中添加代码>> itemclickif你在树节点内有多个单元格。
var tree = Ext.create(' Ext.tree.Panel',{
store:store,
renderTo:Ext.getBody(),
height: 300 ,
宽度: 250 ,
听众:{
itemclick:function(n){
// 在此处添加代码以查找节点内的单元格。
}
}
});
希望这会有所帮助,如果没有请提供一些样品/代码。
I am trying to edit an treepanel row in extjs and i want to foucs and mouse cursor to move for a partcular cell in the selected row.
Please help me.
解决方案
Your can add code inside listeners>>itemclickif you have more than one cell inside the tree node.
var tree = Ext.create('Ext.tree.Panel', { store: store, renderTo: Ext.getBody(), height: 300, width: 250, listeners:{ itemclick: function(n){ // Add code here to find the cell inside the node. } } });
Hope this helps, If not Please provide some sample/code.
这篇关于当行eidtor聚焦到特定列时,ExtJs树面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文