2001 JI Open Discussion Posted August 21, 2006 Share Posted August 21, 2006 By: Jaydeep - jaydeeptase Some jasper report issues 2005-04-04 21:55Hi, I have some issues in jasper reports. Issue 1 : How is it possible to have alternate row coloring? I am not able to get a handler to row created event. I referred the jasper tips and tricks page as well. Issue 2 : I am running a group by query to display data in groups. I want a way to print rowcount for the number of rows fetched. Further I want to extend this to diplay count for rows in each group and the total number of rows for all the groups fetched. Issue 3 : Is it possible to include the column header band inside a group band? I have been trying this unsuccessfully. Please help. Awaiting your response, Thanking you, Jd. By: Vinod Kumar Singh - vinodsingh RE: Some jasper report issues 2005-04-04 22:43Issue 1 : Use to rectangle of different colors as background for detail rows and made them visible for odd and even rows, look at tips & ticks section again. Issue 2 : jasper provides built-in variables for the same, look into docs. Issue 3 : Include the content of the column header inside group header. By: Daren O - rckrll106 RE: Some jasper report issues 2005-04-05 06:16Issue 1 Here is how I do row coloring (might be an easier way but this works): new Boolean( ($P{LineColor}.booleanValue()) && (((int)$P{LineSpace}.intValue() / 2) <= ($V{REPORT_COUNT}.intValue() % $P{LineSpace}.intValue()) ) ) Issue 3 When you create a group you have a header and footer. Column headers usually go in the group header. Maybe I'm not understanding your question. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now