Problem after upgrading to v1.5 b11

Problem after upgrading to v1.5 b11

amitdgramitdgr Posts: 8Questions: 0Answers: 0
edited July 2009 in General
Hi Allan,

We upgraded our datatables.js from v1.4 to v1.5 b11, but we are encountering some problems.

Previously (v1.4) we had more than one datatable on a single page and it would work without any trouble. After the upgrade, only the first table in the page appears as a datatable, other tables appear like normal HTML tables.

firebug shows this error :
oSettings.aoColumns[aaSort[aaSort.length - 1][0]] is undefined
http://localhost/XYZ/media/js/jquery.dataTables.js Line 3054

We are not able to fix this error. Please tell us where we went wrong.

Thanks
Amit

Replies

  • amitdgramitdgr Posts: 8Questions: 0Answers: 0
    edited July 2009
    Allan,

    For pages having just one table, datatables is working fine in some places, but in many other places it is throwing up this error

    aLayout[0] is undefined
    http://localhost/XYZ/media/js/jquery.dataTables.js Line 3967

    why is it showing the array aLayout as undefined ? Any help would be appreciated

    Thanks,
    Amit
  • amitdgramitdgr Posts: 8Questions: 0Answers: 0
    edited July 2009
    Hi Allan,

    I fixed one of the problems by changing the code on line no 3967

    for ( i=0, iLen=aLayout[0].length ; i
  • amitdgramitdgr Posts: 8Questions: 0Answers: 0
    Allan ,

    I figured out the source of error :) The pages where the error occurred, had malformed tables( there was no in the portion ) . Apparently, the previous version was a bit more lenient towards malformed tables ......

    Amit
  • allanallan Posts: 61,443Questions: 1Answers: 10,053 Site admin
    Hi Amit,

    Thanks for all the updates and following up on this - much appreciated!

    1. The bug on "for ( i=0, iLen=aLayout[0].length ; i
This discussion has been closed.