0
我無法隱藏一行或更改其高度。ControlsFX。 SpreadSheetView。如何隱藏行或更改行高?
我嘗試:
GridBase grid = (GridBase) spreadSheetView.getGrid();
grid.setRowHeightCallback(index -> {
return 0.0;
});
但是這隻能當SpreadSheetView組件被初始化。而且我需要在已經繪製的組件中更改該行的高度(或隱藏它)。 嘗試更改圖形單元格的高度不會導致任何結果。