how do I toggle visibility of column in script? [message #1116509] |
Wed, 25 September 2013 10:37  |
Eclipse User |
|
|
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04320 seconds