开发者

ExtJS 4 Grid not working with Ctrl-F in Firefox

开发者 https://www.devze.com 2023-04-01 16:33 出处:网络
I can not get Firefox\'s find feature (Ctrl-F) to work with the Ext.grid.Panel. I\'d like to be able to use it to开发者_运维技巧 find strings in the grid. How can this be accomplished?Try adding this

I can not get Firefox's find feature (Ctrl-F) to work with the Ext.grid.Panel. I'd like to be able to use it to开发者_运维技巧 find strings in the grid. How can this be accomplished?


Try adding this css (after ext-all.css is loaded):

.x-grid3-row td,
.x-grid3-summary-row td,
.x-grid3-cell-text,
.x-grid3-hd-text,
.x-grid3-hd,
.x-grid3-row {
    -moz-user-select:inherit;
    -khtml-user-select:text;
}

See also:condor's solution For a more refined approach.

Note:* This also enables text selection in the grid.

0

精彩评论

暂无评论...
验证码 换一张
取 消