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.
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.
Try:
andCode:myform.getForm().on({ 'beforeaction': function() { grid.hide(); }, 'actioncomplete': function() { grid.show(); } });
Code:mygrid.on('render', function(c) { c.store.load(); });
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.