Datatable performance

Datatable performance

danwdanw Posts: 4Questions: 0Answers: 0
edited April 2010 in General
I'm using a dataTable to display an arbitrary number of rows.

I have an XMLHTTP request that goes away and fetches data from a server-side source, and incrementally updates the dataTable with the returned rows using fnAddRow.

fnAddRow seems to be very intensive, and is the bottleneck in the performance of my application, according to my JavaScript profiling.
I get the 'unresponsive script' error in IE7, and you can forget about IE6. FF is slow with FireBug on, and performs acceptably with FireBug off.

I read elsewhere in the forum that disabling sorting in the table initialisation will improve the performance of fnAddRow, but I really need sorting.

Is it possible to enable sorting once the data has been loaded?
I've tried a number of ways, but without success.

Further to that, is there a better way to achieve the process I describe above?


Cheers,

Dan.
This discussion has been closed.