You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
switching from ver 8 to ver 11 I found that if I put long text in a cell spanning over multiple columns, all the columns involved in the span get the width of the spanned cell.
Expected (ver 8):
Result (ver 11):
Here's the code used to generate the example (the code is the same the behaviour si different in ver 8 vs 11:
GridBase grid = new GridBase(2, 3);
ObservableList<ObservableList<SpreadsheetCell>> rows = FXCollections.observableArrayList();
for (int row = 0; row < grid.getRowCount(); ++row) {
final ObservableList<SpreadsheetCell> list = FXCollections.observableArrayList();
for (int column = 0; column < grid.getColumnCount(); ++column)
list.add(SpreadsheetCellType.STRING.createCell(row, column, 1, 1, "value"));
rows.add(list);
}
grid.setRows(rows);
grid.spanColumn(2, 0, 0);
grid.setCellValue(0, 0, "value___________");
SpreadsheetView spv = new SpreadsheetView(grid);
Thanks in advance for any help.
Best regards,
Filippo
The text was updated successfully, but these errors were encountered:
Hello,
switching from ver 8 to ver 11 I found that if I put long text in a cell spanning over multiple columns, all the columns involved in the span get the width of the spanned cell.
Expected (ver 8):
Result (ver 11):
Here's the code used to generate the example (the code is the same the behaviour si different in ver 8 vs 11:
Thanks in advance for any help.
Best regards,
Filippo
The text was updated successfully, but these errors were encountered: