hello,
i want to show grid after button click,
i have button(admin), and gridpanel

Code:
Ext.onReady(function(){
   var myForm = new Ext.form.FormPanel({ 
                                       autoHeight: true 
                    Ext.get('admin').on('click', function(e){
                        
                    });

var grid = new Ext.grid.GridPanel({
      id: 'example',
      title: 'Grid Filters Example',
      ds: ds,
      cm: cm,
      enableColLock: false,
      loadMask: true,
     // plugins: filters,
      height:400,
      width:700,        
      el: 'grid-example',
      autoExpandColumn: 'company',
      bbar: new Ext.PagingToolbar({
        store: ds,
        pageSize: 15,
       // plugins: filters
      }),
      tbar:[{
          text:'update',
          tooltip:'update record',
          iconCls:'add'
      },'-',{
          text:'New',
          tooltip:'save New Record',
          iconCls:'new'
      }]
        

   });