| [news.eclipse.birt] Re: How can I set a CSS class name for a report item? |
Chris,
If my data value is less than 500 use style one If my data value is greater than or equal to 500 use style two
Jason
Hello Jason,
When I try to do that the OK button always stays greyed out. Any hint on what's wrong here?
About Günters original question:
He implemented a IDataItemEventHandler.
In the "onPrepare" method he has all information he needs to decide which CSS class he wants to set for a given data item.
Is there a way to set the CSS class name?
If it is not possible using an IDataItemEventHandler - is there another way to dynamically set the class name?
Regards, Chris