title: How to insert file upload button in ext js group wise grid header?
body: <p>How to insert file upload button in ExtJs group wise grid header?</p>
  
  <p>I have ExtJs grid, and now need to add file uploader button in header.</p>
  
  <pre><code>Ext.onReady(function(){
  
      Ext.QuickTips.init();
  
      var xg = Ext.grid;
  
  
      // shared reader
      var reader = new Ext.data.ArrayReader({}, [
         {name: 'filename'},
         {name: 'size'},
         {name: 'action'},
         {name: 'document'}
  
      ]);
  
      var store = new Ext.data.GroupingStore({
              reader: reader,
              data: xg.dummyData,
              sortInfo:{field: 'filename', direction: "ASC"},
              groupField:'document'
          });
  
      var grid = new xg.GridPanel({
          store: store,
          columns: [
              {id:'filename',header: "File Name", width: 60, sortable: true, dataIndex: 'filename'},
              {header: "Size", width: 20, sortable: true,  dataIndex: 'size'},
              {header: "Action", width: 20, sortable: true,  dataIndex: 'action'},
              {header: "Document", width: 20, sortable: true, dataIndex: 'document',hidden:'true'}
          ],
  
          view: new Ext.grid.GroupingView({
            forceFit:true,
            groupTextTpl: '{text} ({[values.rs.length]} {[values.rs.length &gt; 1 ? "Items" : "Item"]}) '
          }),
  
          frame:true,
          width: 700,
          height: 450,
          collapsible: true,
          animCollapse: false,
          title: 'Grouping Example',
          iconCls: 'icon-grid',
          renderTo: document.body
      });
  });
  
  
  
  // Array data for the grids
  Ext.grid.dummyData = [
      ['3m Co',1,'Delete', 'Invoice'],
      ['Alcoa Inc',29.01,'View', 'Invoice'],
      ['Altria Group Inc',83.81,'Download', 'Invoice'],
      ['American Express Company',52.55,'View Download', 'SOP'],
      ['American International Group, Inc.',64.13,'View Download', 'GSP'],
      ['Caterpillar Inc.',67.27,'View Download', 'GSP'],
      ['Citigrup, Inc.',49.37,'View Download', 'SOP'],
      ['Johnson &amp; Johnson',64.72,'View Download', 'Other'],
      ['Merck &amp; Co., Inc.',40.96,'View Download', 'Other'],
      ['Walt Disney Company (The) (Holding Company)',29.89,'View Download', 'GSP']
  ];
  </code></pre>
  
  <p>Now need file upload button in GroupingView some how.</p>