• Baktash
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hello,

 

ich have list in a VF Email template and I would like to know if it is possible to order the list.

It looks like this:

 

<messaging:emailTemplate subject="Subject" recipientType="Contact" relatedToType="Opportunity"> 

<messaging:attachment renderAs="PDF">

<apex:dataTable var="o" value="{!relatedTo.testObject__r}">
<apex:column headerClass="AngeboteTableHeader"  value="{!o.Field__c}"/>
</apex:dataTable>

 

I need to order the datatable by a specific field. is it possible?

 

Thanks in advance.