How can I change the table selection color?
2 posts
• Page 1 of 1
How can I change the table selection color?
I want to change the selection color but don't know how to do this.
- johnit
- Posts: 45
- Joined: Fri Nov 16, 2012 5:58 pm
Re: How can I change the table selection color?
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:
The type is configure in IColor, e.g.
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.
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.
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
2 posts
• Page 1 of 1