PDA

View Full Version : Ext.List Slow



adamszatrowski
29 Jun 2011, 11:11 AM
I'm using an Ext.List to display a Store containing ~500 records. The List is an item in a TabPanel, and selecting the list's tab takes a long time (2 seconds) on an iPhone 4 and an iTouch 4. In addition, scrolling through the list is slow and stutters.

When I limit the number of records to about 100 the slowness gets a lot better. I suspect that the root of the problem is the sheer number of DOM objects being created/manipulated.

I set pinHeaders to false in the list config (as was suggested in another thread), and it netted a marginal performance increase, but nowhere near the level of responsiveness I'm looking for.

Does anyone have any tips or ideas on how I might be able to make my UI more responsive?

Hanni Sullivan
29 Jun 2011, 10:31 PM
You might want to give the UxBufList (https://github.com/Lioarlan/UxBufList-Sench-Touch-Extension/blob/master/UxBufList.js) a try.

adamszatrowski
30 Jun 2011, 12:27 PM
Thank you so much. This is exactly what I was looking for.