Problem after upgrading to v1.5 b11
Problem after upgrading to v1.5 b11
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
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
This discussion has been closed.
Replies
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
I fixed one of the problems by changing the code on line no 3967
for ( i=0, iLen=aLayout[0].length ; i
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
Thanks for all the updates and following up on this - much appreciated!
1. The bug on "for ( i=0, iLen=aLayout[0].length ; i