partkeepr

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

UnitGrid.js (535B)


      1 Ext.define('PartKeepr.UnitGrid', {
      2     extend: 'PartKeepr.EditorGrid',
      3     alias: 'widget.UnitGrid',
      4     columns: [
      5         {header: i18n("Unit"), dataIndex: 'name', flex: 1},
      6         {header: i18n("Symbol"), dataIndex: 'symbol', width: 60}
      7     ],
      8     addButtonText: i18n("Add Unit"),
      9     addButtonIconCls: 'partkeepr-icon unit_add',
     10     deleteButtonText: i18n("Delete Unit"),
     11     deleteButtonIconCls: 'partkeepr-icon unit_delete',
     12     automaticPageSize: true,
     13     initComponent: function ()
     14     {
     15         this.callParent();
     16     }
     17 });