Threaded View

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Delhi, India
    Vote Rating
    Abhishek Srivastava is on a distinguished road


    Default Answered: Refreshing a view every time its rendered on screen

    How can we refresh a view each time it is rendered on screen.
    for example if a view is rendered on screen when button is clicked it should be loaded again on click action of button each time button is pressed,

  2. If you're showing a store with autoLoad = true, it should redisplay the onscreen portion when the data is refreshed. If you need to re-render the UI elements on the view, use a combination of removing them from the view and various set() methods to modify their appearance. It's probably better to pop or remove the entire view, and then re-create and push it once the appropriate data structure is rebuilt in memory.

    This is just general advice - I don't think you'll get much more without giving a better idea of what you're trying to do.

Thread Participants: 1