问题
I tried using this approach for the Name label and it worked great.
Now, I am trying to set values to other cells from a method using the code below:
List<String> values = new ArrayList<>();
values.add("test1");
values.add("test2");
values.add("test3");
values.add("test4");
values.add("test2");
values.add("test5we");
values.add("test5we");
values.add("test5we");
values.add("test5qq");
values.add("test5gf");
values.add("test5v");
values.add("test5s");
values.add("test5a");
for (int column = 3; column < values.size(); column++)
grid.setCellValue(0, column, values.get(column));
I need to rotate the values inside the said cells.
来源:https://stackoverflow.com/questions/56266405/how-to-rotate-values-inside-a-cell-in-spreadsheet-controlsfx-when-setting-values