Error - No data IE6 and IE7

Error - No data IE6 and IE7

fniglfnigl Posts: 3Questions: 0Answers: 0
edited November 2010 in General
Hello

Thank you for making DataTables!

I have been working with datatables for a couple of weeks - and got every thing to work in FF3, Chrome, Safari.
I am using datatables with server-side data, and a valid JSON output.

BUT in IE6 and IE7 it is not working!(Have not testet IE8 and IE9).
The table is just empty. - and it don't show any buttons - or the search field. - or errors!

I have no idea watch wrong - and since I don't get any errors - I'm lost.
Try to find a debugger for IE to look inside the sAjaxSource (inside IE), but came up short.

Hope somebody can help me!

My JSON is valid with JSONLint:
[code]
{"sEcho": 1, "iTotalRecords": 35021, "iTotalDisplayRecords": 35021, "aaData": [ ["2010-10-23","09:46:00","BBS-1AN","2030","Telefon","Indg

Replies

  • fniglfnigl Posts: 3Questions: 0Answers: 0
    Hello everybody,

    After alot of debugging and rebuilding of my code - I have FINALY found the error regarding IE6 and IE7!

    Solution:
    When having more than 28 cols you get and error!
    I had 31 cols in my JSON, which made IE6 and IE7 fail.

    So the only advise from we would be - don't use more than 28 cols - if you need support for IE6 and IE7.

    /fnigl
  • big-dealbig-deal Posts: 38Questions: 0Answers: 0
    That seems wierd...
    I have a table with more than 28 cols - in ie6/7, and have no such problem.
    I don't remember if I use json there, but I don't believe that the json implementation of jquery has a problem specific to ie 6/7 with more than 18 cols.

    Are you sure that this is the core of the problem and not a certain data fetched in one of your rows at col 28/29?
    Maybe you are fetching some data with double quete?

    big-deal
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    This thread and my reply are probably relevant here: http://datatables.net/forums/comments.php?DiscussionID=4252&page=1#Item_5 :-)

    Allan
This discussion has been closed.