Commit 05f6a5643f81acf2fd67df3568b0f1af6ce8324d

Authored by Benjamin Renard
2 parents dce8df55 34300591

Merge branch 'FER_11478' into amdadev

Showing 1 changed file with 6 additions and 2 deletions   Show diff stats
js/app/views/CatalogUI.js
... ... @@ -126,7 +126,9 @@ Ext.define('amdaUI.CatalogUI', {
126 126  
127 127 updateCount: function () {
128 128 this.object.set('nbIntervals', this.TTGrid.getStore().getTotalCount());
  129 + this.object.set('nbColumns', this.TTGrid.headerCt.getGridColumns().length-7);
129 130 this.formPanel.getForm().findField('nbIntervals').setValue(this.object.get('nbIntervals'));
  131 + this.formPanel.getForm().findField('nbColumns').setValue(this.object.get('nbColumns'));
130 132 },
131 133 generateTT: function () {
132 134 if (this.fclose()) {
... ... @@ -1344,11 +1346,13 @@ Ext.define('amdaUI.CatalogUI', {
1344 1346 layout: 'hbox',
1345 1347 items: [{
1346 1348 xtype: 'datefield', fieldLabel: 'Creation date',
1347   - name: 'created', disabled: true,
  1349 + name: 'created', disabled: true,flex:8,
1348 1350 hideTrigger: true, format: 'Y/m/d H:i:s'
1349 1351 },
1350 1352 {xtype: 'splitter'},
1351   - {xtype: 'textfield', fieldLabel: 'Intervals', name: 'nbIntervals', disabled: true}
  1353 + {xtype: 'textfield', fieldLabel: 'Intervals', name: 'nbIntervals', flex:5, disabled: true},
  1354 + {xtype: 'splitter'},
  1355 + {xtype: 'textfield', fieldLabel: '# Col.', name: 'nbColumns',flex:3, disabled: true}
1352 1356 ]
1353 1357 },
1354 1358 {
... ...