var oldFeat;
function getData(){
	var featureStore = new GeoExt.data.FeatureStore({	
		fields: [
			{name: 'ID', type: 'int'}
			,{name: 'NAME', type: 'string'}
			,{name: 'REGION', type: 'string'}	
			,{name:'idFeature', type:'int'}
			,{name: 'Y_2004', type: 'int'}
		],
		layer : Disaster
	});

	var olGrid = new GeoExt.grid.GridPanelFeature({
		store: featureStore,
		width:300,
		columns: [
			{
			 header: "Pays",
			 width:100,
			 dataIndex: "NAME"
			},{
			 header: "Population touchée",
			 width:170,
			 dataIndex: "Y_2004"
			}			
		],//EOF columns
		bbar: new Ext.StatusBar({
			defaultText: '',
			id: 'basic-statusbar'						
		})
	});
	
	cf = olGrid.selectControl;
	map.addControl(olGrid.selectControl);
	cf.activate();

	/*function loadFeature(s, r){
		var bbar = olGrid.getBottomToolbar();
		bbar.addText('<i>Nombre de pays : </i><b>'+featureStore.getCount()+'</b>');
	}	*/
	return olGrid;
}

