You need to sign in to do that
Don't have an account?

Column with "Select All" Checkbox
I'd like to have the "Select All" functionality on a column in a pageBlockTable. It exists in various parts of Salesforce, where it is a checkbox beside the column title, which will select all or deselect all checkboxes in that column. How would I go about doing this for the following code:
Code:
<apex:pageBlockTable value="{!allIOs}" var="io"> <apex:column headerValue="Select"> <apex:inputCheckbox value="{!io.mfd}"/> </apex:column>
Thanks for any tips in advance!
and then in setAllSelected, you'd loop through getAllIOs and call setMfd(true).