EXTJS的EditorGrid怎么设置多选 EditorGrid怎么设置多选,最好帖出代码谢谢各位了! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 grid里加sm:new Ext.grid.RowSelectionModel()或者sm:new Ext.grid.CheckboxSelectionModel() var grid = new Ext.grid.EditorGridPanel({renderTo:"grid",height:Ext.get('grid').getComputedHeight(),width:Ext.get('grid').getComputedWidth() , sm:new Ext.grid.RowSelectionModel(),cm:colM,store:store,});我在这里加了没反应,刚学这东西请教了! 先在grid外面定义var sm=new Ext.grid.RowSelectionModel();然后 colM里面也要加上colm=new Ext.grid.ColumnModel([sm , ...]);sm改成这样sm:sm 用Ext.grid.CheckboxSelectionModel()可以,var sm=new Ext.grid.RowSelectionModel(); 这个不行哥们,在问一下我在加一个编号的列呢,就是new Ext.grid.RowNumberer()这个。。用什么表示的? 这个也可以放到colm里面,比如sm后面 struts+Spring+hibernate 组合问题?? 在myeclipse里运行servlet 绝对有难度,有挑战的问题!!!--连接池 如何用SQL SERVER存取HTML代码 高手急救:在jsp函数中,不能使用out对象吗? 存储过程的问题 setMaxInactiveInterval()的问题 毕业设计--音像制品租赁管理系统Java Web 大家帮忙看看这段代码有什么问题? 网页中怎么实现在edit内按enter键变成是tab的结果 struts2 token的问题 登录界面问题
sm:new Ext.grid.RowSelectionModel()
或者
sm:new Ext.grid.CheckboxSelectionModel()
renderTo:"grid",
height:Ext.get('grid').getComputedHeight(),
width:Ext.get('grid').getComputedWidth() ,
sm:new Ext.grid.RowSelectionModel(),
cm:colM,
store:store,
});我在这里加了没反应,刚学这东西
请教了!
先在grid外面定义
var sm=new Ext.grid.RowSelectionModel();
然后 colM里面也要加上
colm=new Ext.grid.ColumnModel([sm , ...]);sm改成这样
sm:sm
我在加一个编号的列呢,就是new Ext.grid.RowNumberer()这个。。
用什么表示的?