0

在下面的示例中,

configRegistry.registerConfigAttribute(
                CellConfigAttributes.CELL_PAINTER,
                new BeveledBorderDecorator(
                        new VerticalTextPainter(false, true, true)),
                DisplayMode.NORMAL,
                GridRegion.COLUMN_HEADER);

列标题文本垂直对齐,如何将此样式应用于特定列而不是所有列,寻找指导。提前致谢

4

1 回答 1

0

您需要通过配置标签配置条件样式。看看我们的入门教程,看看如何做到这一点。

https://www.vogella.com/tutorials/NatTable/article.html#architecture_labels

于 2020-11-07T17:25:31.073 回答