I want to know if it is possible to hide the column in JasperReports if the column contains no data.
Asked
Active
Viewed 2,573 times
1
-
1Can you please explain what you have tried so that others in the community can help you from there on. – Gangadhar Mar 09 '12 at 04:05
-
@RozieRozack Do you want to avoid using java API? – Alex K Mar 09 '12 at 08:32
-
For exp. i have the data shows below: Year Types of Car 2009 2010 2011 Toyota 1 Honda 0 Suzuki 1 Total 2 if i choose the data for year 2009(key in parameter), then the data for that year will appear, for others contains no data, so i want to hide the column for year 2010 and 2011. Is it possible? – Rozie Rozack Mar 09 '12 at 08:33
-
Yes, it is possible. You can use the crosstab, for example – Alex K Mar 09 '12 at 08:37
1 Answers
-1
Check the property of that column in Ireport whether "Remove Line when Blank" option is check or uncheck. using this property u can hide that column

Sharad
- 3,562
- 6
- 37
- 59