Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » how do I toggle visibility of column in script?
how do I toggle visibility of column in script? [message #1116509] Wed, 25 September 2013 14:37 Go to next message
Gibran Shah is currently offline Gibran ShahFriend
Messages: 33
Registered: September 2013
I'm trying to create a table that represents a person's tax slip. For example, a T4 slip. The database can return more than one tax slip for that person for that type (so one person may have multiple T4 slips). Our client wants the values for all the slips of a certain type (say T4) for a certain person to be put into additional columns.

For example, one row for a person's T4 slip may look like:

| Employee's EI Premiums | $100.00 | <-- one T4 returned


| Employee's EI Premiums | $100.00 | $200.00 | <-- two T4s returned


| Employee's EI Premiums | $100.00 | $200.00 | $300.00 <-- three T4s returned

I haven't come across a way to add columns dynamically (having a fixed number of empty columns is not acceptable) so I'm thinking of creating something like 10 columns and making them all invisible at first. I would only make them visible if there is data added to them during the onFetch event.

So my question is: how do I make the column visible during the onFetch event?
Re: how do I toggle visibility of column in script? [message #1117155 is a reply to message #1116509] Thu, 26 September 2013 06:34 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Referencing the same post over on BIRT Exchange:


Developer Evangelist, Silanis
Previous Topic:Displaying table headers when table's data is not their
Next Topic:mongodb-oda-birt-plugin - JSONPath
Goto Forum:

Current Time: Mon May 29 05:18:06 GMT 2023

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

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

Back to the top