partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

BaseGrid.js (476B)


      1 /**
      2  * Defines an abstract grid which includes the grid menu plugin.
      3  *
      4  */
      5 Ext.define('PartKeepr.BaseGrid', {
      6     extend: 'Ext.grid.Panel',
      7     alias: 'widget.BaseGrid',
      8 
      9     renderers: [],
     10 
     11     /**
     12      * Initializes the component
     13      */
     14     initComponent: function ()
     15     {
     16         this.defaultColumnConfiguration = this.columns;
     17 
     18         this.callParent();
     19     },
     20     getDefaultColumnConfiguration: function () {
     21         return this.defaultColumnConfiguration;
     22     }
     23 });