-
24 Oct 2010 3:18 AM #11
By reading your mind?
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
24 Oct 2010 7:13 AM #12
when i look to your screenshots it looks like a conflicting css rule of your custom css. Just try to deactivate it.
vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
24 Oct 2010 10:14 PM #13
Disabling my custom css doesn't change a thing.
-
24 Oct 2010 11:31 PM #14
What version of Ext is this?
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
24 Oct 2010 11:32 PM #15
I am using 3.3 Final release. Also tried 3.2.1 but it looks the same in IE.
-
24 Oct 2010 11:37 PM #16
I do not get that effect. I don't know what could be wrong.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
25 Oct 2010 12:15 AM #17
Problem seems to be with my OS.
- I normally use Windows XP with Service Pack 3, and then it all looks kinda sloppy.
- I just ran my application on my laptop which has Windows 7 Home Premium and I got no problems.
I used IE8 on both the systems, but can my OS be the cause of this ?
-
25 Oct 2010 10:07 AM #18
Anyway, I did some debugging and noticed some strange behaviour. I stripped out all the overrides, unnecesarry code etc.
The beforeshow event is executed twice, this is my code:
When I hover over a row with my mouse, it comes twice at my breakpoint. In this case you wouldn't notice much of it. Commenting out the line where I set the anchor does solve this. I this logical ??Code:Ext.onReady(function(){ Ext.QuickTips.init(); var grid = new Ext.grid.GridPanel({ renderTo : Ext.getBody(), listeners : {render : showToolTip}, // Rest of config... }); }); function showToolTip(grid){ grid.tip = new Ext.ToolTip({ target : grid.getView().mainBody, delegate : '.x-grid3-row', renderTo : document.body, autoHide : false, anchor : 'left', // Comment out this line to fire the event only once maxWidth : 500, listeners : { beforeshow : function(tip){ // Set breakpoint here tip.body.update('Over row ## ??'); } } }); }
-
25 Oct 2010 10:42 AM #19
It does get shown twice because of the anchor positioning. It shows it, then does some calculations and calls showAt again.
I think this is a bug really. The "pre show" should not call the real show method, but just show the element and position it at [-1000, -1000]Code:show : function(){ if(this.anchor){ // pre-show it off screen so that the el will have dimensions // for positioning calcs when getting xy next this.showAt([-1000,-1000]); this.origConstrainPosition = this.constrainPosition; this.constrainPosition = false; this.anchor = this.origAnchor; } this.showAt(this.getTargetXY()); if(this.anchor){ this.anchorEl.show(); this.syncAnchor(); this.constrainPosition = this.origConstrainPosition; }else{ this.anchorEl.hide(); } },Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
21 Dec 2012 2:39 AM #20
After some investigation (having the same issue myself) the original problem appears to be because IE was using Quirks Mode.
Tooltips should render properly if the document starts with "<!DOCTYPE html>", forcing Strict Mode.
You may also need to disable Compatibility Mode, which is achived by adding an HTTP header (or http-equiv meta tag) "X-UA-Compatible: IE=edge". Doing this also overrides any doctype-based choice of render mode.
Similar Threads
-
ToolTip problem
By mcadirci in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 13 Sep 2010, 12:15 AM -
[FIXED-571] row editor grid - tooltip rendering
By fugo in forum Ext 3.x: BugsReplies: 12Last Post: 15 Feb 2010, 3:08 AM -
Hi tooltip problem
By sseema in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 3 Dec 2008, 5:55 AM -
ToolTip Problem
By Trollo in forum Ext GWT: Help & Discussion (1.x)Replies: 2Last Post: 26 Aug 2008, 5:50 AM


Reply With Quote