Forum
I'm not sure if this a bug or something I'm doing wrong, but in some circumstances in IE8, when selecting a row in the grid, the grid "hops" down a little and I get a whitespace line above the TH row in the grid. I cannot inspect select or otherwise mark this phenomena in IE to determine where exactly in the DOM it comes from. I did notice a tiny little mark appearing in the upper left corner of the grid (right where the rounded edge is in Firefox) under the same circumstances and suspected that the two behaviors were linked to the same underlying cause, just manifesting differently in the two browsers.
For the record, the IE problem is the only one I'm concerned about both because it's clearly a noticeable quirk and because the solution I'm building will run primarily in IE.
Using Firefox, I was able to track the stray pixel to a new element being inserted as the first child of "_gview":
I don't know what this element is or does, but I do know that if I destroy it the quirk dissapears. I use $('#_kn').parent().remove() to to the dirty deed because there's no way for me to query for the parent element (hence searching for its child and then jQuerying the parent) Can someone tell me what the purpose of this span is? Can I prevent it from coming up in the first place? Can I prevent it from displaying at all using a preventative measure such as a CSS rule (I don't see how if there's no tag or class…) Also, dor some reason this behavior is not consistent and I have not been able to create a new page that exhibits it, although my existing page always consistently exhibits this visual quirk.
I'm using jqGrid 3.7.2
jQueryUI 1.8.2
jQuery1.4
Many thanks in adv. for any insight into this issue
SOLUTION (?)
I don't know why the visual bug manifestes itself selectively on certain pages in IE but not others, but if I change line 349 in grid.celledit.js to
The problem goes away. The corresponding place in the compressed file is in line 356.
Is there any unintended side effect that I need to be concerned with? Should this be perhaps a patch for anyone else who may have experienced this problem?
19:47
Moderators
30/10/2007
Hello,
This resolve the problem just in your particular case. Doing this in the demo prevent always key navigation.
Please check your CSS.
Kind Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
tony said:
Hello,
This resolve the problem just in your particular case. Doing this in the demo prevent always key navigation.
Please check your CSS.
Kind Regards
Tony
the problem apperas to be related to the DOCTYPE declaration. If I don't have it on my page, weirdness ensues as documented her and also with jsTree. Odd. See
Most Users Ever Online: 715
Currently Online:
22 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66