Change the header color of a Alarm Status Table

Does anyone know how to change the color of a table header? Currently it always appears white.

If you’re referring to the Perspective Alarm Status Table header, you’ll need to directly modify your custom theme to change this appearance.

.alarmstatustable .ia_table__headContainer {
	background-color: #BBBBBB;

Modifying this property in a browser resulted in the header taking on the supplied color, though I have not actually tested this in a theme file.

Thanks for you answer but I’m developping in Vision. You know how do that in vision?

You would need to drill into the inner table, nested inside the component, and modify its header renderer(s). There’s nothing directly exposed. Some reading:

Just for reference, I could set the Alarm Status Header font size and color using the following syntax:

from java.awt import Font
largeFont = Font(“Dialog”, Font.BOLD, 24)
myObject = event.source.parent.getComponent(‘Alarm Status’)
myObject.getComponent(0).getComponent(0).getComponent(1).getComponent(0).getComponent(5).getComponent(0).foreground = system.gui.color(255,0,0)