Skip to main content



      Home
Home » Eclipse Projects » NatTable » Validation error style
Validation error style [message #1817773] Thu, 28 November 2019 21:10
Eclipse UserFriend
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: Sun May 18 01:07:31 EDT 2025

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

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

Back to the top