I have a need to add at times ~10 new elements to a single panel. This have proven to be very slow

I am using the .add() method on the parent panel. To speed this up I have found I can just create an entirly new extjs container and build the rest inside of this. Then I just have to call add once. This is ~10+sec speedup. However its kind of a hack I think.

Is there a way to batch adds?

fordprefect

15 Oct 2012, 7:43 AM

One thing you could try is adding the items to the panel in one add call like so: