DT loading slow; FixedHeader with many columns
DT loading slow; FixedHeader with many columns
I have DT with many columns, about ~390.
When I use FixedHeader loading of this page is (very) slow, without FixedHeader it is quite fast.
Sample page without FH:
http://tulospalvelu.biz/fh/without_fixedheader.php
Same page with FH:
http://tulospalvelu.biz/fh/with_fixedheader.php
Is there anything (besides decreasing columns :) to do?
When I use FixedHeader loading of this page is (very) slow, without FixedHeader it is quite fast.
Sample page without FH:
http://tulospalvelu.biz/fh/without_fixedheader.php
Same page with FH:
http://tulospalvelu.biz/fh/with_fixedheader.php
Is there anything (besides decreasing columns :) to do?
This discussion has been closed.
Replies
Thanks hugely for the links - really helpful :-).
I've been poking around with the Firebug profiler and basically about 80% of the initialisation time with FixedHeader is spent doing the node cloning - add in the row height equalisation and removing of nodes and I think that is where all the time is going.
I think given the way that FixedHeader is doing the cloning at the moment is probably inefficient when dealing with large numbers of columns, primarily due to the way the jQuery clone self references. This is something that I will most certainly look at improving.
Regards,
Allan