解决extjs grid文字不能选中的有关问题
解决extjs grid文字不能选中的问题
转载:http://floydd.iteye.com/blog/1326342
解决extjs grid文字不能选中的问题
-
博客分类:
- web
- javascript
- css
extjsgrid文字不能选中
- .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 '))