
在做的demo里加了一个字段 is_master,和你的问题有类似的处理,我默认的只能有一个用户为master,点击设为master后,重新加载数据,实现切换
图标样式
master {background: url(/images/status_onlinegif) no-repeat !important;
}
notmaster {
background: url(/images/status_offlinegif) no-repeat !important;
}
controller部分代码
更新sql:
update hs_user t set tIS_MASTER=0 WHERE tIS_MASTER=1;
update hs_user t set tIS_MASTER=1 WHERE tID in (16);
-----------------------
希望以上对你有帮助
您好,感谢您对火狐的支持
ext_IE与火狐的兼容问题,请您参考下:>
以上就是关于Extjs5.0版本当中Ext.grid.GridPanel如何能够通过增加xtype:'actioncolumn', *** 作列来实现这样的设置 *** 作全部的内容,包括:Extjs5.0版本当中Ext.grid.GridPanel如何能够通过增加xtype:'actioncolumn', *** 作列来实现这样的设置 *** 作、Ext代码在firefox与IE显示不同 添加代码:Ext{columnWidth : .29,xtype : 'label',text :''//,}、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)