fnAddData accepts an array of arrays which is much more efficient when adding a lot of rows. I'd suggest building an array of all of the rows you want to add first and then pass that to fnAddData.
Thanks allan for your inputs , i was also facing the similar issue.
I am building fnData array initially and passing into fnAddData. It shows pop up message saying stop running this script esp in IE browsers.
I am expecting more than 200 records in datatable it works only 150 records in IE, even i tried disabling sort for all the columns in datatable but not helped.
My code is something like below..
var fnData=[testdatexml,starttime,endtime,totalseats,availableseats,seatsReserved,candidatecount,
maxTestDuration,sessionInfostatus];
Replies
Allan
I am building fnData array initially and passing into fnAddData. It shows pop up message saying stop running this script esp in IE browsers.
I am expecting more than 200 records in datatable it works only 150 records in IE, even i tried disabling sort for all the columns in datatable but not helped.
My code is something like below..
var fnData=[testdatexml,starttime,endtime,totalseats,availableseats,seatsReserved,candidatecount,
maxTestDuration,sessionInfostatus];
oTable.fnAddData( [fnData] );
Kindly advice what needs to be done.
Gs
One thing you could do is enable bDeferRender - that will help get a bit of a speed boost.
Allan