Skip to main content



      Home
Home » Archived » BIRT » Designer: Derive Column Header Name Dynamically
Designer: Derive Column Header Name Dynamically [message #258056] Fri, 12 October 2007 09:25 Go to next message
Eclipse UserFriend
Originally posted by: rupeshkp.gmail.com

We need to build a BIRT report using report designer tool wherein the
dataset column names (i.e. associated layout column header names) are
determined based on user input

Ex:
1. Lets say there exists a table T with each row representing column names
C1, C2, C3 etc against a user id u1.
2. Column C1, C2, C3 are not fixed, the names may changes for user u2 to
say C3, C4, C5, C6
3. When this user u1 clicks on a report, it should generate an output with
following header: C1, C2, C3 and then each row representing values for
these columns


Queries
-------

1. I think use of report engine API could be a possible approach for this.
I don't know if these API can also help in sticking to same look and feel
(css) used in report designer.

2. Can this be achieved using BIRT report designer tool and if so how do
we do this. I could not find any pointer.

Any help will be greatly appreciated.
Re: Designer: Derive Column Header Name Dynamically [message #258202 is a reply to message #258056] Fri, 12 October 2007 15:49 Go to previous message
Eclipse UserFriend
Hi Rupesh,

There are a couple of example below that may help.

Dynamic Content Creation in BIRT - This example uses parameters with a
report design and lets you pass in the columns needed for the report
http://www.birt-exchange.com/modules/wfdownloads/singlefile. php?cid=2&lid=117

Create report dynamically - This example uses the DEAPI and does
everything in Java code.
http://www.birt-exchange.com/modules/wfdownloads/singlefile. php?cid=2&lid=156

Virgil

Rupesh Porwal wrote:
> We need to build a BIRT report using report designer tool wherein the
> dataset column names (i.e. associated layout column header names) are
> determined based on user input
>
> Ex: 1. Lets say there exists a table T with each row representing column
> names C1, C2, C3 etc against a user id u1.
> 2. Column C1, C2, C3 are not fixed, the names may changes for user u2 to
> say C3, C4, C5, C6
> 3. When this user u1 clicks on a report, it should generate an output
> with following header: C1, C2, C3 and then each row representing values
> for these columns
>
>
> Queries
> -------
>
> 1. I think use of report engine API could be a possible approach for
> this. I don't know if these API can also help in sticking to same look
> and feel (css) used in report designer.
>
> 2. Can this be achieved using BIRT report designer tool and if so how do
> we do this. I could not find any pointer.
>
> Any help will be greatly appreciated.
>
>
>
>
>
Previous Topic:does birt support crystal report setting formula ?
Next Topic:Conditional aggregate
Goto Forum:
  


Current Time: Thu Jul 17 23:31:32 EDT 2025

Powered by FUDForum. Page generated in 0.07117 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top