riodavid
-
Posts
179 -
Joined
-
Last visited
Community Answers
-
riodavid's post in Shape size was marked as the answer
" I want to be the same height as the detail. "
So first you have to set your shape height the same as the detail height.
-
riodavid's post in Can we hide a column in jasper report conditionally? was marked as the answer
Print When Expression
-
riodavid's post in Print of 2 detail bands was marked as the answer
I suggest to put them in Summary field. But you have to wrap the field in the Table Elements.
-
riodavid's post in Integer crosstab measure exported to Xlsx as text, not number. was marked as the answer
Set Report Property [net.sf.jasperreports.export.xls.detect.cell.type] to [true]
-
riodavid's post in Strange Formating in Excel and Doc was marked as the answer
Root cause found, elements were covered by elements.
https://postimg.cc/image/55upabtsd/
-
riodavid's post in Is there a way to take in a CSV and create fields or columns to table more quickly? was marked as the answer
Hi Zonglin,
It's not possible.
But as you know the Jasper report is based on jrxml - which is in fact a xml file, you can write your own program to read column names from csv, then add these columns to jrxml.
BR
D
-
riodavid's post in One chart in each group was marked as the answer
Hi mquinteiro,
Set the [Evaluation Time] of your chart to [Group].
BR
D
-
riodavid's post in Operations with parameters before query was marked as the answer
I think you can re-write the logic of the 2nd parameter to SQL, and implement it in Input Control. That's how cascading input control works.
-
riodavid's post in Format Difference in HTML and Java was marked as the answer
OK issue solved.
You should set the property cell and the textbox simultaneously.
Interestingly, this is the second time that I puzzled for a long time, posting the question, and the issue got resolved by myself very soon.
Mysterious forum power.
-
riodavid's post in Cascade Input Control - Single Value Parent was marked as the answer
OK issue solved.
In "The JasperReports Ultimate Guide Third Edition " it says:
"JasperReports has built-in support for two clause functions: IN and NOTIN"
I guess its outdated. I found we can use EQUAL as well. It works for single value. My final formula looks like:
WHERE $X{EQUAL,CountryName,paramCountry}
Hope it helps others.