=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Mapping.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Mapping.js 2010-02-03 10:18:27 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/resources/mapfish/widgets/geostat/Mapping.js 2010-02-05 15:12:26 +0000 @@ -143,6 +143,8 @@ }, newUrl : false, + + /** * Method: initComponent @@ -211,6 +213,8 @@ Ext.getCmp('grid_gp').getStore().baseParams = { mapLayerPath: mlp, format: 'json' }; Ext.getCmp('grid_gp').getStore().reload(); + + Ext.getCmp('filter_tf').enable(); this.classify(false); }, @@ -218,8 +222,26 @@ } } }, - - { html: '
' }, + + { + xtype: 'textfield', + id: 'filter_tf', + labelStyle: AA_LIGHT, + fieldLabel: 'Filter', + labelSeparator: MENU_LABELSEPARATOR, + isFormField: true, + width: combo_width, + enableKeyEvents: true, + disabled: true, + listeners: { + 'keyup': { + fn: function() { + var p = Ext.getCmp('filter_tf').getValue(); + gridStore.filter('organisationUnit', p, true, false); + } + } + } + }, { xtype: 'grid',