comparison app/view/grid/ProbeList.js @ 977:56470a075e6e stammdatengrids

Added methods to the controllers to disable/enable buttons in the toolbar when rows are (de)selected
author Dustin Demuth <dustin@intevation.de>
date Thu, 03 Dec 2015 09:26:43 +0100
parents fb99332bb48e
children 1df6b6210b42
comparison
equal deleted inserted replaced
976:3c770fc7cf19 977:56470a075e6e
39 action: 'import', 39 action: 'import',
40 disabled: false 40 disabled: false
41 }, { 41 }, {
42 text: i18n.getMsg('probe.button.export'), 42 text: i18n.getMsg('probe.button.export'),
43 icon: 'resources/img/svn-update.png', 43 icon: 'resources/img/svn-update.png',
44 action: 'export' 44 action: 'export',
45 disabled: true //disabled on start, enabled by the controller
45 }, { 46 }, {
46 text: i18n.getMsg('probe.button.print'), 47 text: i18n.getMsg('probe.button.print'),
47 icon: 'resources/img/printer.png', 48 icon: 'resources/img/printer.png',
48 action: 'print' 49 action: 'print',
50 disabled: true //disabled on start, enabled by the controller
49 }] 51 }]
50 }]; 52 }];
51 this.columns = []; 53 this.columns = [];
52 this.callParent(arguments); 54 this.callParent(arguments);
53 }, 55 },

http://lada.wald.intevation.org