changeset 879:5a299d49a989

Set the data table cells selectable for copy&paste. flys-client/trunk@2708 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 12 Sep 2011 15:14:45 +0000
parents d7c322a3bb32
children 22dc88b17253
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Sep 12 13:35:20 2011 +0000
+++ b/flys-client/ChangeLog	Mon Sep 12 15:14:45 2011 +0000
@@ -1,3 +1,8 @@
+2011-09-12  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java:
+	  Set the data table cells selectable for copy&paste.
+
 2011-09-12  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java	Mon Sep 12 13:35:20 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java	Mon Sep 12 15:14:45 2011 +0000
@@ -67,6 +67,7 @@
         String locale    = config.getLocale ();
         dataTable.setEmptyMessage(MESSAGES.empty_table());
         dataTable.setShowHeaderContextMenu(false);
+        dataTable.setCanDragSelectText(true);
 
         exportService.getCSV(url, locale, uuid, name,
             new AsyncCallback<List<String[]>>() {

http://dive4elements.wald.intevation.org