Browse Source

REPORT-55060 数据集预览支持复制

feature/10.0
Henry.Wang 3 years ago
parent
commit
bd6817a976
  1. 9
      designer-realize/src/main/java/com/fr/design/cell/clipboard/CellElementsClip.java

9
designer-realize/src/main/java/com/fr/design/cell/clipboard/CellElementsClip.java

@ -98,14 +98,11 @@ public class CellElementsClip implements Cloneable, java.io.Serializable {
table.add(new ArrayList<>());
}
if (currentRow < cellElement.getRow()) {
for (int r = currentRow; r < cellElement.getRow(); r++) {
table.add(new ArrayList<>());
}
currentRow = cellElement.getRow();
while (currentRow<cellElement.getRow()){
table.add(new ArrayList<>());
currentRow++;
}
Object cellValue = cellElement.getValue() == null ? StringUtils.EMPTY : cellElement.getValue();
table.get(currentRow - startRow).add(cellValue);
}

Loading…
Cancel
Save