I have the following code(omitted everything else):
<apex:column headerValue="try1" rendered="{! s.Quote.RecordType.Name == 'Standard'}">
<apex:inputField value="{!s.Quantity}"/>
</apex:column>
<apex:column headerValue="try2" rendered="{! s.Quote.RecordType.Name != 'Standard'}">
<apex:inputField value="{!s.UnitPrice}"/>
</apex:column>
I get the correct output if the RecordType.Name isn't = 'Standard'. Basically, I get a column with header "try2" and the values of "UnitPrice".
However, if the RecordType.Name is = 'Standard', I get goofy data. I get a column with header "try2" again and the values of "Quantity"!!
Why am I getting the same header each time?