I have problem with form panel and binding modelView in ExtJS 5. When form panel after render, values set slowly.
相关问题
- Laravel Option Select - Default Issue
- HTML form is not sending $_POST values
- How to use Control.FromHandle?
- Xamarin. The name 'authorEntry does not exist
- Scaling of the point sprites (Direc3D 9)
相关文章
- Show a different value from an input that what wil
- How can I detect/watch “dirty-status” of an angula
- Sencha Ext.define Uses vs Requires
- Why form submit opens new window/tab?
- Setting Angular 2 FormArray value in ReactiveForm?
- Rails 3 > Rendering views in rake task
- Rails: Using form fields that are unassociated wit
- How to get the “value” of a FilteringSelect <se
This is because the browser is doing a complete layout reflow when changing a Label field (which your WizardOrderRowDisplayField is extending). The Label is not really meant to display changing values. Therefore, the implementation is a bit simplistic. When changing the value it injects new DOM content into the page. When changing DOM content, the browser will need to reflow.
Now, because the ViewModel causes quick updates to multiple Label fields, every single update causes a reflow. So when updating 30 fields, it will reflow 30 times which takes time.
If you change the WizardOrderRowDisplayField to extend Ext.form.field.Text, making it readOnly and changing the layout a bit so that it looks like a label field, you have the same functionality and your issue is solved:
Good luck