Results 1 to 2 of 2

Thread: Grid auto refresh, only if tab is active

  1. #1

    Default Grid auto refresh, only if tab is active

    Hello, i havea system in extjs 4.1 and yiiframework.

    I want automatically refresh a grid, but only if the tab is active.

    Administrator panel : http://177.70.1.166/billing/
    Username: root
    Password: magnus


    www.magnusbilling.com

    Best regards

  2. #2
    Sencha Premium User
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,255
    Answers
    27

    Default

    you just need to listen to the 'activate' and 'deactivate' events on that tab (aka in your controller set your control query to the tab you are listening to), then in those handler functions start or stop your refesh.

Tags for this Thread

Posting Permissions

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