.x-selectable, .x-selectable * {
-moz-user-select: text!important ;
-khtml-user-select: text!important ;
}
// enable grid cell to be selected in chrome(x-selectable)/firefox(x-selectable)/IE(unselectable)
Ext.grid.GridView.prototype.cellTpl = new Ext.Template(Ext.grid.GridView.prototype.cellTpl.html
.replace('unselectable="on"', '').replace('class="',
'class="x-selectable '))
解决extjs grid文字不能选中的问题
最新推荐文章于 2021-01-14 02:36:57 发布
本文介绍了如何通过X-selectable类和相关CSS属性,使表格单元格在Chrome、Firefox和IE中能够被选择,提供了一个在不同浏览器中实现统一选择性的解决方案。

543

被折叠的 条评论
为什么被折叠?



