【发布时间】:2013-01-01 22:15:15
【问题描述】:
{
icon: 'images/delete.png',
tooltip: 'Edit',
handler: function(grid, rowIndex, colIndex) {
var edit = Ext.create('AM.view.user.Uploadfile').show();
//here I want to pass parameters to get in window panel
}
}
我编写的代码,希望像在窗口面板上单击图标的行ID一样传递参数。
【问题讨论】:
-
为什么你的处理程序有那个参数?你能详细说明那个按钮吗?
-
其实它在网格布局下,我使用一个按钮作为操作列。我想在点击它时将'id'传递到窗口面板。