Results 1 to 2 of 2

Thread: Refreshing a view every time its rendered on screen

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Delhi, India
    Vote Rating

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts