1. #1
    Ext User
    Join Date
    Aug 2008
    Posts
    7
    Vote Rating
    0
    email2sathya is on a distinguished road

      0  

    Question Show and hide Gridpanel on click of Fileupload Save button

    Show and hide Gridpanel on click of Fileupload Save button


    I need to show or hide a gridpanel on submission of the Fileupload control.Also i need to populate the gridpanel with the datastore once i render it.Kindly help me in this regard.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Try:
    Code:
    myform.getForm().on({
      'beforeaction': function() {
        grid.hide();
      },
      'actioncomplete': function() {
        grid.show();
      }
    });
    and
    Code:
    mygrid.on('render', function(c) {
      c.store.load();
    });

  3. #3
    Ext User
    Join Date
    Aug 2008
    Posts
    7
    Vote Rating
    0
    email2sathya is on a distinguished road

      0  

    Question


    Thanks fyr earlier reply.This is the updated requirement which i got.

    Step 1

    I have a Fileupload control inside a Form panel control.Upload the file to a server location.This is done without any errors.

    Step 2

    Once i had uploaded the file by clicking the Save button I had to show or hide the Gridpanel with data.

    Kindly help me in this regard.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi