Why Flexigird doesn't work with IE

I have a page with flexigrid on it and it works on FF, Chrome, Opera, except IE. it indicates that the error is on the "if (! btn.separator)" line, which is null or not an object.

Well everything inside this block is an IE bug, I think the bug is on the "btn" objects.

Has anyone ever encountered this error?

this is from the latest version of flexigrid 

      

for (i = 0; i <p.buttons.length; i ++) {
var btnfor = p.buttons [i]; if (! btn.separator) {// do something here}}

Thanks Jrubins

+2


a source to share


1 answer


thanks for the answer. but I was just able to fix my problem.

using for (i in p.buttons)

instead offor(i=0;i< p.buttons.length;i++)



It was probably the index data type "i" as an object, not an int ?.

0


a source







All Articles