Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    111
    Vote Rating
    1
    sajan is on a distinguished road

      0  

    Default Refreshing a panel

    Refreshing a panel


    Dear all ,
    I have a google map on a panel which is on a tab panel (1) .
    Then there is a window floating(2).
    Then there is button on the floating window (3). As shown in the image below.
    I want to refresh panel 1 from button 3. And I am stuck how to do that please suggest me how to do it.
    thanks
    image.jpg

  2. #2
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    512
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    Make sure panel 1 has an id or itemId assigned to it. In the click handler of your button (or controller action) do an Ext.Viewport.down('<Panel ID Goes Here>').RefreshFunction().

    Keep in mind. Every panel, container, button, link etc.. you see in your app... lives in your browsers DOM. As long as you can get a handle to it (by way of an ID or ItemID or other css queryabile attribute) ... you can do something to it.

    Hope that helps
    John

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    111
    Vote Rating
    1
    sajan is on a distinguished road

      0  

    Default


    Dear Boston Merlin,
    thanks but it is not working!!!.
    Chrome is showing error like in the image Screen Shot 2013-01-26 at 4.34.57 PM.png
    it is saying problem with down I did not get it.
    Please help me out

  4. #4
    Sencha User filippo.ferrari's Avatar
    Join Date
    Apr 2010
    Location
    Sanremo - Italy
    Posts
    126
    Vote Rating
    1
    filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute

      0  

    Default


    .down() search for an itemId, Your Viewport need to be referenced in the controllerer and then you can try:
    PHP Code:
    var MyViewport this.getMyViewportRef();
    MyViewport.down('#MyPanelMapItemId').RefreshFunction() 

  5. #5
    Sencha User
    Join Date
    May 2010
    Posts
    111
    Vote Rating
    1
    sajan is on a distinguished road

      0  

    Default


    I tried everything.
    But it is still not working.
    My panel ID is mappan. so when I do
    Code:
    Ext.Viewport.down('mappan').RefreshFunction();
    .
    it is still showing the same error. Please help me. I am stuck on this for a ling time.
    Uncaught TypeError: Object function constructor() { return this.constructor.apply(this, arguments) || null; } has no method 'down'