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,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar