 	import org.openforis.collect.ui.view.ListView;
 	
 	import spark.components.gridClasses.GridColumn;
+	import spark.events.GridSortEvent;
 	import spark.formatters.DateTimeFormatter;
 
 

			eventDispatcher.addEventListener(UIEvent.LOAD_RECORD_SUMMARIES, loadRecordSummariesHandler);

			this._view.newRecordButton.addEventListener(MouseEvent.CLICK, newRecordButtonClickHandler);
			//this._view.paginationBar.previousPageButton.addEventListener(MouseEvent.CLICK, previousPageClickHandler);
			//this._view.paginationBar.nextPageButton.addEventListener(MouseEvent.CLICK, nextPageClickHandler);
			//this._view.paginationBar.goToPageButton.addEventListener(MouseEvent.CLICK, goToPageClickHandler);

			loadRecordSummariesCurrentPage();
		}
		
		protected function dataGridSortChangingHandler(event:GridSortEvent):void {
			var newSortFields:Array = event.newSortFields;
		}
	}
}