}
int colIndex = this.natTable.getColumnIndexByPosition(col);
int rowIndex = this.natTable.getRowIndexByPosition(row);
- if(rowIndex==0){
+ if(row==0){
return colHeaderDataProvider.getDataValue(colIndex, rowIndex).toString();
}
- return ""; //$NON-NLS-1$
+ return natTable.getCellByPosition(col, row).getDataValue().toString();
+
}
@Override
}
int rowIndex = this.natTable.getRowIndexByPosition(row);
- if(rowIndex==0 && col>0){
- return true;
+ if(row ==0 || col == 0){
+ return false;
}
- return false;
+ return true;
}
}