Jump to content
We've recently updated our Privacy Statement, available here ×

fionn_colvin

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by fionn_colvin

  1. Thanks for the reply. I'll try to elorabte a bit. For all my reports I use XML files as my datasource and I always use Datasets for individual tables. I'll attach an example xml for reference. My report level xml query is "/championReport" I then add a Dataset with a query of "//match" with all fields under match for that Dataset. I then add a table with that Dataset as its Datasource. How do I add a condional style refering to "totalPenalties' for example? I seem to only be able to access report level fields for conditional styles.
  2. Glad you got it. Now if you work out how to make merged colums let me know.
  3. I purchased the eBook recently. It now has a section on tables. Its in with the List and Barcode section.
  4. Thanks so much. I've got it all working. Much appreciated.
  5. I've purchased the Ultimate guide to iReports, $49.99. It is pretty good. Doesn't cover anything in great detail however. Lots of stuff I can't find in it unfortunately.
  6. What do you get displayed when a null exists? Or does the report fail to run with there are nulls?
  7. Hello, I'm trying to build a complex table with a static text heading spanning multiple columns. It would look something like this. TABLE HEADING COL 1 HEAD COL 2 HEAD COL 3 HEAD COL 4 HEAD DATA 1 DATA 2 DATA 3 DATA 4 Is this possible?
  8. In the field put something like this ($F{value} == "" ? " " : $F{value}) That should then print the field if it is not empty or a blank space if it is.
  9. Hello all, I'm very new to Jasper Reports and trying to get my head around this great looking tool. I am trying to build a report with XML datasources as thats what our company can easily create. Outlined below is an example XML file and then the type of report I'm trying to create. <?xml version="1.0" encoding="utf-8"?> <teams count="5"> <squad name="s_aaa" field1="111" field2="222" field3="333"> <person name="p_abc" field1="22" field2="24" field3="13" /> <person name="p_def" field1="22" field2="24" field3="13" /> <person name="p_ghi" field1="22" field2="24" field3="13" /> <person name="p_jkl" field1="22" field2="24" field3="13" /> <person name="p_mno" field1="22" field2="24" field3="13" /> <person name="p_xyz" field1="22" field2="24" field3="13" /> </squad> <squad name="s_bbb" field1="111" field2="222" field3="333"> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> </squad> <squad name="s_ccc" field1="111" field2="222" field3="333"> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> </squad> <squad name="s_ddd" field1="111" field2="222" field3="333"> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> </squad> <squad name="s_eee" field1="111" field2="222" field3="333"> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="abc" field1="22" field2="24" field3="13" /> <person name="xyz" field1="22" field2="24" field3="13" /> </squad> </teams> FIELD 1 FIELD 2 FIELD 3 P_ABC 22 24 13 ... ... ... ... P_XYZ 22 24 13 S_AAA 111 222 333 ... ... ... ... S_EEE 111 222 333 So for the squads I'd use an xpath of /teams/squad For players it would be /teams/squad/person Can I use a table element to render this? How do I get the report to break on each new squad and display that data before going onto the the next person record? Any help would be greatly appreciated.
  10. The situation: 1. Currently using iReport 4.0 2. I've created a report with an XML file as a datasource 3. I added a table with a subdataset 4. Automatic styles were added for TH, CH and TD 5. One of the columns in the table displays the round a sporting match occues in. 6. I'd like to change the top border of the TD when the round changes. The result will be a thick border accross a row splitting groups of data apart. My issue is accessing values from the subdataset in the styles part of the editor. Any help, or an example would be greatly appreciated. Post Edited by fionn_colvin at 01/16/2011 21:50
×
×
  • Create New...