开发者

ExtJS 4 Grid not working with Ctrl-F in Firefox

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜