Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Header with nested table
Header with nested table [message #366452] Fri, 02 January 2009 11:03 Go to next message
abedi  is currently offline abedi
Messages: 26
Registered: July 2009
Junior Member
Hi all,

Happy new year everybody !!!
I'm using 3 datasets to have a main table and 2 nested tables as following
:

AA BB CC DD EE FF GG
--------------------------
A1 B1 C1 D1 E1 F1 G1
E2 F2 G2
D2 E3 F3 G3
E4 F4 G4
E5 F5 G5
A6 B6 C6 D6 E6 F6 G6
E7 F7 G7
D7 E8 F8 G8
A7 B7 C7 D8 E9 F9 G9

I have no problem to create and organize data. My problem is to have one
unique header for all the tables. BIRT offers the possibility to have one
header by table but I don't want it (as in example :
http://www.birt-exchange.com/devshare/designing-birt-reports /530-sample-birt-sub-report-example/#reviews).
I don't achieve to do it ! I try to modify column width but it doesn't
work correctly.

I hope I have been clear,
Thanx for any help

Jack
Re: Header with nested table [message #366457 is a reply to message #366452] Fri, 02 January 2009 14:28 Go to previous messageGo to next message
Eclipse User
Originally posted by: mwilliams.birt-exchange.com

Hi Jack,

So, you want the header row of the main outside table to include the
header labels for all the tables rather than the embedded tables having
their own header row? Am I understanding correctly? If not, can you
please explain more? In your example table, is the "AA BB CC...etc" row
the header row you want?

Regards,

Michael
Birt-Exchange Contributor
http://www.birt-exchange.com


abedi wrote:

> Hi all,

> Happy new year everybody !!!
> I'm using 3 datasets to have a main table and 2 nested tables as following
> :

> AA BB CC DD EE FF GG
> --------------------------
> A1 B1 C1 D1 E1 F1 G1
> E2 F2 G2
> D2 E3 F3 G3
> E4 F4 G4
> E5 F5 G5
> A6 B6 C6 D6 E6 F6 G6
> E7 F7 G7
> D7 E8 F8 G8
> A7 B7 C7 D8 E9 F9 G9

> I have no problem to create and organize data. My problem is to have one
> unique header for all the tables. BIRT offers the possibility to have one
> header by table but I don't want it (as in example :
>
http://www.birt-exchange.com/devshare/designing-birt-reports /530-sample-birt-sub-report-example/#reviews).
> I don't achieve to do it ! I try to modify column width but it doesn't
> work correctly.

> I hope I have been clear,
> Thanx for any help

> Jack
Re: Header with nested table [message #366459 is a reply to message #366457] Fri, 02 January 2009 17:53 Go to previous message
abedi  is currently offline abedi
Messages: 26
Registered: July 2009
Junior Member
Hi Michael,

Thanx for your quick answer. You are totaly right. Each nested table has
its own header. In the BIRT example link I post, we can see that each
nested table has its own header. In my case, I want the same header for
all tables. So, always in BIRT example, it means that column header
PRODUCTCODE, QUANTITYORDER and PRICEEACH should be at the same level that
ORDERNUMBER and STATUS. Moreover, cell borders sould be align too.

For your information, I try another method. With a dataset I retrieve all
the data I need, and I create a table based on this dataset. Next I create
two groups one below the other, in my example, the first one grouped on AA
and the second one grouped on DD. With this method, I don't have any
problem of header but I can't have a render like I show in my small
example. I have a first line with AA,BB etc... then below, a second line
with DD and finaly, below again, the details (EE etc...). It is not
compliant with the expected result.
That's why I try with nested tables to obtain a good result, but any way
to do will be welcomeif it allows me to solve my problem.

Thanx for your help,

Jack
Previous Topic:Crystal Reports conversion...
Next Topic:"The report contains errors" in 2.3.1
Goto Forum:
  


Current Time: Wed Jul 23 00:00:15 EDT 2014

Powered by FUDForum. Page generated in 0.03304 seconds