partkeepr

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

FootprintGrid.js (572B)


      1 Ext.define('PartKeepr.FootprintGrid', {
      2     extend: 'PartKeepr.EditorGrid',
      3     xtype: 'partkeepr.FootprintGrid',
      4     columns: [
      5         {header: i18n("Footprint"), dataIndex: 'name', flex: 1}
      6     ],
      7     addButtonText: i18n("Add Footprint"),
      8     addButtonIconCls: 'partkeepr-icon footprint_add',
      9     deleteButtonText: i18n("Delete Footprint"),
     10     deleteButtonIconCls: 'partkeepr-icon footprint_delete',
     11     features: [
     12         {
     13             ftype: 'grouping',
     14             groupHeaderTpl: '{name} ({children.length})',
     15             enableNoGroups: true
     16         }
     17     ]
     18 });