You need to sign in to do that
Don't have an account?
Joseph Bauer
How to Add Text and Selectlist in Column Header
I'm trying to add a Status label and a select list in a column header so it says Status and the user can select a new status in the header to apply to change all values in the column. Here is the markup:
This just shows a selectList in the header and Status is not rendered. If I change the picklist to just text (IE Status2) it renders both lines correctly. I also tried using a label on the SelectList but that did not work either. Anyone know how to do this?
<apex:column><apex:facet name="header">Status <br/> <apex:selectList multiselect="false" size="1" value="{!selectedStatus}" required="false" id="status" label="Status"> <apex:selectOptions value="{!statusOptions}"/> </apex:selectList> </apex:facet> {!rec.newStatusValue} </apex:column>
This just shows a selectList in the header and Status is not rendered. If I change the picklist to just text (IE Status2) it renders both lines correctly. I also tried using a label on the SelectList but that did not work either. Anyone know how to do this?
All Answers