Results 1 to 2 of 2

Thread: getUpdater() method of Ext.tab.Panel in Ext JS 4.x

  1. #1
    Sencha User
    Join Date
    Apr 2011
    Location
    London
    Posts
    10

    Default getUpdater() method of Ext.tab.Panel in Ext JS 4.x

    Hi all,
    we were using getUpdater() method of Ext.tab.Panel in Ext JS 2.x, but by the release of ExtJs4, I do not know which method performs its job. Could you give an example please what changes has to be made in order to use getUpdater() method and transform these code to ExtJs4.1? Thanks in advance...

    Code:
            var updater =tab.getUpdater();
            updater.on('beforeupdate', function (x, y, z) {/**/});
            updater.on('update', function (x, y) {/**/});
            updater.update(menu.targetUrl);
            tab.setTitle('any title');

  2. #2
    Sencha User friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106

    Default

    If you're saying that you want to be able to dynamically update the contents of a Tab via a specified URL, take a look at the loader configuration on Ext.panel.Panel.

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
  •