You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Flexigrid for jQuery
Hi,
I've just recently started using the 1.0b3 version and I found an
issue on IE6.0
The issue is at the following line:
var nw = parseInt($(g.nBtn).width()) + parseInt($(g.nBtn).css
('borderLeftWidth'));
where $(g.nBtn).css('borderLeftWidth') returns 'medium' and hence
parseInt() fails to parse successfully.
This causes IE throw an exception the NaN is set as a left property
for css.
I noticed elsewhere in the code there are checks for isNan() and the
values are handled appropriately. I made the following change and
things started working for me:
var borderLeftWidthAsInt = parseInt($(g.nBtn).css('borderLeftWidth'));
if (isNaN(borderLeftWidthAsInt)) {
borderLeftWidthAsInt = 0
}
var nw = parseInt($(g.nBtn).width()) + borderLeftWidthAsInt;
Has anyone else faced anything similar? Is this a bug in code?
Thanks.
Charles Gilliland
unread,
Jul 19, 2009, 1:57:31 PM7/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Flexigrid for jQuery
I have replicated this in IE8 as well.
Also in IE8, none of the background images in the column headers show,
possibly a result of the issue described above.