Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge cells vertically in table detail on BIRT

Is it possible to "merge" the row vertically so that the report looks neater? Like follows:

+-----------+--------+--------------+
| Tbl Hdr   | Group  |    User      |
+-----------+--------+--------------+
|Very long  | [User] | [Reputation] |
|description+--------+--------------+
|of the     | [User] | [Reputation] | 
|group      +--------+--------------+
|           |        |              |
+-----------+--------+--------------+

In stead of:

+-----------+--------+--------------+
| Tbl Hdr   | Group  |    User      |
+-----------+--------+--------------+
|Very long  | [User] | [Reputation] |
|description|        |              |
|of the     |        |              |
|group      |        |              |
+-----------+--------+--------------+
|           | [User] | [Reputation] | 
+-----------+--------+--------------+
|           |        |              |
+-----------+--------+--------------+

I can merge by use jQuery code in report but just work in HTML of course. I cant find solution in excel, may be some trick i dont know. Or somehow i can merge cell by code after IRunTask run() in Java code. Iam using Eclipse BIRT Designer Version 4.3.2.v20140211-1400 Build <4.3.2.v20140218-1056>

Thanks for reading.

like image 674
BlackKat Avatar asked Nov 11 '22 07:11

BlackKat


1 Answers

I think You need to use grouping function in table.

One of tutorials is here: http://developer.actuate.com/be/documentation/ihub2-web/birtos/fg44/index.html#page/birt-os/grouping.1.16.html

Google more about it using keywords "BIRT table grouping", and also dont forget to use "Drop detail" in group header cell. In your case it would be cell containing "very long description" text.

like image 93
Rytis Guntulis Avatar answered Dec 04 '22 15:12

Rytis Guntulis