wisoo123 Posted September 26, 2013 Share Posted September 26, 2013 Hi,which report structure would you suggest to create a table with the following layout: Category 1 | Category 2 | Category X ------------------------------------------------------------- Attr1 Attr2 Attr X | Attr1 Attr2 Attr X | Attr1 Attr2 Attr X -----------------------------------------------------------------1.1. val val val val val val ...2.1. ...3.1. ......31.1.Data comes from SQL (Dataset) as (time,category,attr,val).How can I realize these grouping of columns with the table object? I tried to insert group headers into the table->columnHeaderList, but then then content of each category is displayed on a new page.Thanks! Link to comment Share on other sites More sharing options...
ajinkya_c Posted September 28, 2013 Share Posted September 28, 2013 Hi,This kind of report you can try with crosstab in iReport. Becouse you can able to create subgroup column in crosstab easily than table.I developed such reports in crosstab becouse such report can easily managed with crosstab than table.ThanksAjinkya Link to comment Share on other sites More sharing options...
wisoo123 Posted September 30, 2013 Author Share Posted September 30, 2013 Hi Ajinkya,you are right - I tried to create a report this weekend using crosstabs, and it worked better than with tables (but maybe it is possible with them too?).What I couldn´t implement until now: how can I avoid page breaks inside a column group? For example, in my example above all columns "Attr1"-"AttrX" of "Category 2" should be displayed on next page, if one or more columns do not fit on the current page.Wisoo123 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