+ Start a Discussion
Simon WhightSimon Whight 

Java to hide table columns based on all entries being "no"

Could someone give me a hand with this?

I have a Visualforce Email that has a table bringing back a load of data from an Apex Repeat. The table is quite wide due to it bringing back a lot of checkboxes. 

I would like columns to be suppressed if all the entries returned at "No" - i.e. unchecked.
 

I know you can do some variable visibility stuff with Java/jquery but have no idea where to start.

ShashankShashank (Salesforce Developers) 
You may have to try conditional rendering: https://help.salesforce.com/apex/HTViewSolution?id=000003854&language=en_US