Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Validation error style
Validation error style [message #1817773] Fri, 29 November 2019 02:10
zida wang is currently offline zida wangFriend
Messages: 7
Registered: November 2019
Junior Member
I want to change the cell border,but it doesn't work,I can change the background color and foreground color but how to change the border when in validation error style. here is my code

Style style =new Style();
style.setAttributeValue(CellStyleAttributes.BACKGROUND_COLOR,GUIHelper.COLOR_RED);
style.setAttributeValue(CellStyleAttributes.BORDER_STYLE,new BorderStyle(2,GUIHelper.COLOR_RED,LineStyleEnum.SOLID));
configRegistry.registerConfigAttribute(EditConfigAttributes.VALIDATION_ERROR_STYLE,style, DisplayMode.EDIT);
Previous Topic:FormulaGrid
Next Topic:Validation error style
Goto Forum:
  


Current Time: Thu Apr 25 03:55:25 GMT 2024

Powered by FUDForum. Page generated in 0.02689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top