ext中的GridPanel问题

暮_雪 2012-11-28 03:14:37
我在一个window定义了两个GridPanel,可是在js调用的时候总是说GridPanel未定义,不知道怎么回事,求高手指点
add: function (source, destination) {
debugger;
source = source || gp1;
destination = destination || gp2;
if (source.hasSelection()) {
var records = source.selModel.getSelections();
source.deleteSelected();
Ext.each(records, function (record) {
destination.store.addSorted(record);
});
}
}
gp1和gp2是两个GridPanel的ID
...全文
30 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧