=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js 2012-04-23 12:19:27 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js 2012-04-25 06:40:13 +0000 @@ -954,6 +954,7 @@ // grid this.datatable = Ext.create('Ext.grid.Panel', { height: TR.util.viewport.getSize().y - 60, + id: 'gridTable', columns: cols, scroll: 'both', title: TR.cmp.settings.program.rawValue + " - " + TR.cmp.params.programStage.rawValue + " " + TR.i18n.report, @@ -1053,7 +1054,7 @@ } ], plugins: [ - Ext.create('Ext.grid.plugin.CellEditing', { + Ext.create('Ext.grid.plugin.RowEditing', { clicksToEdit: 1, editStyle: 'row', clicksToMoveEditor: 1, @@ -1068,10 +1069,7 @@ } }, edit: function( editor, e ){ - if( e.originalValue!=e.value ) - { - TR.exe.execute(); - } + TR.exe.execute(); } } @@ -1118,7 +1116,7 @@ if (Ext.grid.RowEditor) { Ext.apply(Ext.grid.RowEditor.prototype, { saveBtnText : TR.i18n.filter, - cancelBtnText : TR.i18n.cancel, + cancelBtnText : TR.i18n.cancel }); } === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/css/style.css' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/css/style.css 2012-04-23 12:19:27 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/css/style.css 2012-04-25 06:40:13 +0000 @@ -677,4 +677,17 @@ font-weight: weight; } +#gridTable .x-btn-default-small +{ + height: 0px; + width: 0px +} +#gridTable .x-grid-row-editor-buttons { + height: 0px; + width: 0px +} +#gridTable .x-grid-row-editor-buttons-default { + height: 0px; + width: 0px +}