joseph.piron
26 Mar 2012, 12:05 AM
Hi guys !
For a new application we are setting up here we chose to try extjs, and it's impressive (but not so easy at first :)).
Anyway, for this app, we need some kind of customizable dashboard feature and to get this we tried with a concept of view defined dashboards that user can create. And so, we'd like to be able to reload a particular view to get any new layout etc..
I am using the Loader system and tried this:
- get the view
- destroy it
- set Ext.Loader.isFileLoaded.[viewclassname] to false
- null the var
- Ext.create([viewclassname])
but the system does not reload the view from server, only recreate an instance.
Is there a way to do this ?
Thanks in advance for your support !!
For a new application we are setting up here we chose to try extjs, and it's impressive (but not so easy at first :)).
Anyway, for this app, we need some kind of customizable dashboard feature and to get this we tried with a concept of view defined dashboards that user can create. And so, we'd like to be able to reload a particular view to get any new layout etc..
I am using the Loader system and tried this:
- get the view
- destroy it
- set Ext.Loader.isFileLoaded.[viewclassname] to false
- null the var
- Ext.create([viewclassname])
but the system does not reload the view from server, only recreate an instance.
Is there a way to do this ?
Thanks in advance for your support !!