IE 6+ DataTable Issues NEED HELP BAD!

IE 6+ DataTable Issues NEED HELP BAD!

jcrawfordjcrawford Posts: 172Questions: 0Answers: 0
edited September 2009 in General
I have my data tables working perfect in FireFox, however in IE 6+ there are a few issues. First on my keywords page it complains about the columns of data not matching up.

Also the footer HR does not seem to span all the way to the left as you can see in the screen shots I have posted.

Below is the code for my view and also the output that populates the table. I am not sure why this is *only* an IE issue.

Screenshot 1: http://josephcrawford.com/pics/screen1.jpg
Screenshot 2: http://josephcrawford.com/pics/screen2.jpg

HTML CODE: http://paste2.org/p/443647
SAMPLE TABLE DATA: http://paste2.org/p/443649

Any help would be greatly appreciated.

Replies

  • allanallan Posts: 61,627Questions: 1Answers: 10,091 Site admin
    Hi,

    Two things show themselves to be suspicious to me:

    1. Your colspan for the td in the body is 6, rather than 5. I'd imagine most rendering engines will fix this automatically - but how knows what they really do :-)

    2. Your JSON is not valid - all rows have an extra comma at the end (for example at the end of the data: "Yes',]] }"). IE treats this as an error (correctly), while Firefox extra don't (incorrectly). Probably worth running your JSON data through http://www.jsonlint.com to make sure it's valid - useful tool for this!

    Regards,
    Allan
This discussion has been closed.