Page 1 of 1

How can I change the table selection color?

PostPosted: Mon Jan 14, 2019 1:55 pm
by johnit
I want to change the selection color but don't know how to do this.

Re: How can I change the table selection color?

PostPosted: Mon Jan 14, 2019 1:56 pm
by Support@SIB
It depends on the UI implementation. If you use Vaadin UI, it's possible via CSS.
If you use Swing UI, it's possible via factory:

Code: Select all
factory.setSystemColor(String type, IColor color)

The type is configure in IColor, e.g.

Code: Select all
IColor.CONTROL_ACTIVE_SELECTION_BACKGROUND


If you set the system color, it will be used for the whole application! It's currently not possible to configure a system color per component. There's a feature request for this requirement.