diff --git a/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataX.java b/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataX.java
index 9e9df94..2a5d92e 100644
--- a/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataX.java
+++ b/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataX.java
@@ -144,5 +144,19 @@ public class TabularDataX {
}
return new TableId(defaultDataSourceFactoryName, tableKey);
}
+
+
+ /**
+ *
+ * @param i index of column in ColumnModel
+ * @return id of column and equals to column name on service
+ */
+ public String getColumnId(int i){
+ String columnId=null;
+ if(gridPanel!=null){
+ columnId=gridPanel.getColumnId(i);
+ }
+ return columnId;
+ }
}
diff --git a/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXController.java b/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXController.java
index a2e97a8..55b688a 100644
--- a/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXController.java
+++ b/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXController.java
@@ -101,5 +101,7 @@ public class TabularDataXController {
{
service.getTableDefinition(tableId, callback);
}
+
+
}
diff --git a/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXGridPanel.java b/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXGridPanel.java
index 9e81b9b..d185914 100644
--- a/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXGridPanel.java
+++ b/src/main/java/org/gcube/portlets/user/tdwx/client/TabularDataXGridPanel.java
@@ -20,6 +20,7 @@ import org.gcube.portlets.user.tdwx.client.event.OpenTableEvent;
import org.gcube.portlets.user.tdwx.client.event.OpenTableEventHandler;
import org.gcube.portlets.user.tdwx.client.event.TableReadyEvent;
import org.gcube.portlets.user.tdwx.client.event.TableReadyEventHandler;
+import org.gcube.portlets.user.tdwx.client.model.grid.DataRowColumnConfig;
import org.gcube.portlets.user.tdwx.client.model.grid.DataRowModelKeyProvider;
import org.gcube.portlets.user.tdwx.client.model.grid.DataRowPagingReader;
import org.gcube.portlets.user.tdwx.client.model.util.ColumnConfigGenerator;
@@ -32,7 +33,6 @@ import org.gcube.portlets.user.tdwx.shared.model.ColumnType;
import org.gcube.portlets.user.tdwx.shared.model.DataRow;
import org.gcube.portlets.user.tdwx.shared.model.TableDefinition;
-
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
@@ -66,11 +66,11 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/**
*
- * @author "Giancarlo Panichi"
- * g.panichi@isti.cnr.it
+ * @author "Giancarlo Panichi" g.panichi@isti.cnr.it
+ *
+ * Defines the panel that will contain the grid
*
- * Defines the panel that will contain the grid
- *
*/
public class TabularDataXGridPanel extends ContentPanel {
@@ -78,11 +78,10 @@ public class TabularDataXGridPanel extends ContentPanel {
protected EventBus eventBus;
- protected List