NatTable:如何访问特定列的列标题?

问题描述

在下面的示例中,

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

列标题文本是垂直对齐的,我该如何将此样式应用于特定的列而不是所有列,以获取指导。 预先感谢

解决方法

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

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

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...