alfpunk
-
Posts
20 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Downloads
Posts posted by alfpunk
-
-
Hi,
It works correctly and this is not what you need. The answer to your question is by the next link:
https://community.jaspersoft.com/wiki/how-merge-table-rows-repeated-values
Удачи -
Hi,
I investigate a little you jrxml.
- You want to see your "Page Header" only on the first report page, so for this, you use the boolean expression. Instead of this overhead, you could use "Title" - it's displayed only on the first page.
- The main information in report display in the "Detail". So, my suggestion is to remove "Group Header" and "Group Footer". Create in "Detail" element list. This list element will contain:
- frame (if you need some 50px between header and crosstab, as you did via "Detail" just create this frame height 69px)
- with staticText Transportnoe predprijatie:
- and textField $F{parkTitle}
- list
- Crosstab
- frame (if you need some 50px between header and crosstab, as you did via "Detail" just create this frame height 69px)
I can't locally reproduce your error, possibly something is wrong in crosstab element.
Удачи
-
Do you mean for example: get data via java from DB on backend and then use pojo classes like data sources?
-
Could you please attach jrxml file instead of jasper?
-
Hi, there are a lot of ways
- on this site navigate to Docs tab. There you will find a lot of documentation guides.
- on this site navigate to Wiki tab. There you will find "Getting Started" and "Videos: Popular Topics"
- go to the youtube and search by Jaspersoft: you will find a lot of different videos.
- and just google it, you will find a lot of articles for this.
Best regards,
Valerii
-
Could you please attach your jrxml?
-
Could you please attach schema what do you want to get?
-
When I change <jr:table> to <jr:list> all work correctly and it helps in my situation. Still have no idea why it's not working with tables.
-
Just search on YouTube, there are a lot
https://www.youtube.com/results?search_query=Jaspersoft+Studio -
Looks like this is an answer to your question
https://stackoverflow.com/questions/31028896/how-to-print-jasper-reports-in-a-specified-printer -
I store my jrxml in the folder resources -> jasperreports -> templates -> someNameReportJasperTemplate.jrxml. Use next path:
/jasperreports/templates/someNameReportJasperTemplate.jrxml
-
Better use an external tool like Jsapersoft Studio.
https://www.jaspersoft.com/products/jaspersoft-studio -
Please share your jrxml to get more information.
-
Possibly it could help you: split your one huge report for one master that contains sub-reports.
-
Beter switch to Jaspersoft Studio, cause iReport it's an old tool.
https://community.jaspersoft.com/project/ireport-designer -
Beter switch to Jaspersoft Studio, cause iReport it's an old tool.
https://community.jaspersoft.com/project/ireport-designer -
Possibly it could help you: split your one huge report for one master that contains sub-reports.
-
I tried to hide text field and next element table when there is no roleName via <printWhenExpression><![CDATA[!($F{roleName}.isEmpty())]]></printWhenExpression>. It's hide but I get a blank space insted it. How could I remove it? I tried to use isRemoveLineWhenBlank="true" and it literally not help me. Any idea? <frame> <reportElement positionType="Float" x="0" y="150" width="534" height="78" uuid="cd746329-1f2a-4185-89ef-c33ac81bb392"/> <staticText> <reportElement style="G_NS_12_Text_White_Box_TLBR_Green_Back_Green" positionType="Float" x="0" y="0" width="534" height="30" uuid="10ea4ac7-0d28-487e-a043-70e929b2cf8c"/> <text><![CDATA[someText1]]></text> </staticText> <componentElement> <reportElement positionType="Float" x="0" y="30" width="534" height="48" isRemoveLineWhenBlank="true" uuid="c244df2a-d81a-4399-8d19-41e3e46c8c2e"/> <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd"> <datasetRun subDataset="RoleCountryRagStatus" uuid="7b499b81-2ca6-4fed-aa01-d3409dc37a86"> <dataSourceExpression><![CDATA[$F{someDS}]]></dataSourceExpression> </datasetRun> <jr:column width="534" uuid="2510afd8-44c0-474c-87a1-cfe727fcd212"> <jr:detailCell height="48"> <textField> <reportElement style="G_NS_10_Text_White_Box_LR_DarkGrey_Back_DarkGrey" x="0" y="0" width="534" height="24" isRemoveLineWhenBlank="true" uuid="0fcd7730-f611-4f68-a175-3bd344cd7d40"> <printWhenExpression><![CDATA[!($F{roleName}.isEmpty())]]></printWhenExpression> </reportElement> <textFieldExpression><![CDATA["Role - " + $F{roleName}]]></textFieldExpression> </textField> <componentElement> <reportElement x="0" y="24" width="534" height="24" isRemoveLineWhenBlank="true" uuid="5772cb77-d4a5-4acc-8534-80549dde126f"> <printWhenExpression><![CDATA[!($F{roleName}.isEmpty())]]></printWhenExpression> </reportElement> <jr:table> <datasetRun subDataset="CountryRagStatus" uuid="e838cd1e-ea24-481a-ae9e-8385aaab65a0"> <datasetParameter name="REPORT_DATA_SOURCE"> <datasetParameterExpression><![CDATA[$F{someDS2}]]></datasetParameterExpression> </datasetParameter> <dataSourceExpression><![CDATA[$P{REPORT_CONNECTION}]]></dataSourceExpression> </datasetRun> <jr:column width="186" uuid="9357da0f-d58f-4345-8f9f-06e0b148791f"> <jr:detailCell height="24"> <textField> <reportElement style="G_OS_8Bold_Box_LBR_Grey" x="0" y="0" width="186" height="24" isRemoveLineWhenBlank="true" uuid="8931c6a8-0a0c-4eca-af60-a45fdc01f164"> <printWhenExpression><![CDATA[!($F{country}.isEmpty())]]></printWhenExpression> </reportElement> <textFieldExpression><![CDATA[$F{country}]]></textFieldExpression> </textField> </jr:detailCell> </jr:column> <jr:column width="348" uuid="c885ba90-d68c-4f97-a843-f6f9bcd43cc1"> <jr:detailCell height="24"> <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/> <frame> <reportElement style="Box_LRB_Grey" x="0" y="0" width="348" height="24" isRemoveLineWhenBlank="true" uuid="a457d366-5e92-4588-be11-182d164a8db3"> <printWhenExpression><![CDATA[!($F{country}.isEmpty())]]></printWhenExpression> </reportElement> <ellipse> <reportElement style="RagStatus_Circle" x="8" y="8" width="8" height="8" uuid="5576e985-e59f-4a50-aad8-1a76e132a7cb"/> </ellipse> <textField> <reportElement style="OpenSans_8_LeftIndent_6_vTextAlign_Middle" x="16" y="0" width="332" height="24" uuid="500647a2-82a6-4037-a419-00bc74069a4d"/> <textFieldExpression><![CDATA[$F{ragStatus}]]></textFieldExpression> </textField> </frame> </jr:detailCell> </jr:column> </jr:table> </componentElement> </jr:detailCell> </jr:column> </jr:table> </componentElement> </frame>
-
Could you please explain: What was added/changed in a new jar and why/where/for what should we use it? I can't find any information about it.
JasperReports error after switching to OpenJDK11
in Products
Posted
Hi Simon,
Do you add in module-info.java line like:
requires jasperreports;
Best regards,
Valerii Kurnykov