http://www.cnblogs.com/zack-/archive/2012/05/09/2491440.html
修改
extjs
源码真正解决:
ExtJs4.0 GridPanel
数
据内容不能选中复制。
extJS
现在依然存在很多
bug
,有时挺烦人的。比如,最近就需要复制表格信息,
extjs
的
grid
却不支持,研究半天,覆盖了
css
,但只在非
ie
的浏览器有效。修
改了
extjs
源码才解决了在
ie
的问题。
1
、添加以下
css
代码:
.x-grid-row
{
line-height:13px;vertical-align:top;padding:0 1px;
-moz-user-select:text!important;-khtml-user-select:text!important;-we
bkit-user-select:text!important;
}
.x-grid-cell
{
overflow:hidden;font:normal 13px tahoma, arial, verdana,
sans-serif;-moz-user-select:text!important;-khtml-user-select:text!im
portant;-webkit-user-select:text!important;
}
.x-unselectable
{
-moz-user-select:text!important;-khtml-user-select:text!i
mportant;-webkit-user-select:text!important;
}