reawilliams
04-19-2007, 02:39 PM
A Grid column header click results in two MouseDown events but only one MouseUp event. This leaves QuickTips disabled because the disable function is called for each MouseDown and enable for each MouseUp. The missing MouseUp event leaves QuickTips Lock stack non-empty and QuickTips disabled. The problem also occurs with a click in the grid's vertical scrollbar.
This can easily be reproduced using the array-grid example. Add the following to the js just before the grid.render() line:
Ext.QuickTips.init();
grid.on('mouseover',
function(p1,p2,p3){
if(p2.className == 'x-grid-cell-text') {
p2.qtip = p2.innerText;
}
},
grid);
The MouseDown / MouseUp is working correctly for the grid column header element. The one with the missing MouseUp is a mystery to me, it has an id like 'ext-gen1'.
This can easily be reproduced using the array-grid example. Add the following to the js just before the grid.render() line:
Ext.QuickTips.init();
grid.on('mouseover',
function(p1,p2,p3){
if(p2.className == 'x-grid-cell-text') {
p2.qtip = p2.innerText;
}
},
grid);
The MouseDown / MouseUp is working correctly for the grid column header element. The one with the missing MouseUp is a mystery to me, it has an id like 'ext-gen1'.