File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Conditional Style in Jasper reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Conditional Style in Jasper reports" Watch "Conditional Style in Jasper reports" New topic

Conditional Style in Jasper reports

Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 284
Hi all,
Am trying to use conditional style on my jasper report application. I am able to use it but got struck at one point. Actually i have the report elements that gets value from the datasource objects. Now on basis on some condition i was trying to style the report element. Now the problem is that if a single element in a column satisfies the condition all of the elements in that column gets the same style applied. I hope i made myself clear, in case no please inform.

Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 284
Here is how am trying to use it.

Please inform if am going wrong somewhere.

Thanks again.
I agree. Here's the link:
subject: Conditional Style in Jasper reports
Similar Threads
Jasper report
checking for neighbours in array
Jasper Report Implementation
two versions for filling the report, whhch one is the best??
doble condition with ternary operator