18 Oct 2012 8:12 AM #1
Unanswered: Significant Performance issue with setActiveItem and DataView
Has anybody had any experience with this issue at all? This is my first time making a dataview with useComponents = true; Here is my problem code below...
var formPanel = Ext.ComponentQuery.query('panel#formViewer');
var formDataView = Ext.create('app.view.FormDataView');
20 Oct 2012 8:01 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sounds like a lot of browser layout reflows. The size monitor should refresh a couple times but when it detects the dataview's element has been resized and will then refresh.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
21 Oct 2012 8:22 AM #3
That makes sense. Do you think it has everything to do with the fact that I am using components here? I guess I am unsure why this is happening. I get what is happening, just don't know how to get around th issue.