Skip to main content



      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 10:37 Go to next message
Eclipse UserFriend
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

or:

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

or:

| 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 02:34 Go to previous message
Eclipse UserFriend
Referencing the same post over on BIRT Exchange:

http://www.birt-exchange.org/forum/index.php?/topic/30317-how-do-i-toggle-visibility-of-column-in-script/
Previous Topic:Displaying table headers when table's data is not their
Next Topic:mongodb-oda-birt-plugin - JSONPath
Goto Forum:
  


Current Time: Sat Jul 12 17:11:52 EDT 2025

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

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

Back to the top