"I have a requirement where I have to reload a screen with latest data every time the user navigates to this screen.
When user navigates to this screen for the first time, it is working as expected. But when user navigates to some screen from this screen and
navigates back to this screen, some of the fields are not coming up on the screen.
All the screens in my application open in the center region of a main panel which also has a header on the top, treestore on the left.
Here's what i have tried to implement this reload functionality :
Reloading screen elements
When user navigates to this screen for the first time, it is working as expected. But when user navigates to some screen from this screen and
navigates back to this screen, some of the fields are not coming up on the screen.
All the screens in my application open in the center region of a main panel which also has a header on the top, treestore on the left.
Here's what i have tried to implement this reload functionality :
Every time the user navigates to this page, I am doing Ext.create('screen panel') - By doing this way, the
init method in the controller is invoked. I have the following functionalities in the init method : loading the title with static text and user selected value, a status bar(label) which shows number of
records fetched from webservice, populating a combo box with webservice response. So, after reloading, combo box is displaying the latest values but the title and status bar doesn't come up on the screen."
Reloading screen elements
Aucun commentaire:
Enregistrer un commentaire