function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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: