-
Creating a pdf page and want to display row number in first column
Creating a pdf page and want to display row number in first column. I found solution to use apex:variable and increment it.
<apex:variable value="{!0}" var="index"/>
<apex:pageBlockTable value="{!salesOrderItems}" var="salesOrderItem" border="1px">
<apex:variable var="index" value="{!index + 1}"/>
<apex:column>
<apex:facet name="header">
<apex:outputLabel value="Number" />
</apex:facet>
<apex:outputLabel value="{!index}" />
</apex:column>
</apex:pageBlockTable>But in every row '0' is displaying
Log In to reply.
Popular Salesforce Blogs
How Does Salesforce Help in Customer Retention?
The process of acquiring customers is referred to as customer acquisition. Most organizations believe that growing revenue quickly is best achieved by attracting new customers.…
Salesforce Business Processes - Learn Here!
Salesforce is a leading customer relationship management (CRM) platform that helps businesses streamline and automate various processes. With its wide range of tools and features,…
Sandboxes in Salesforce - All you Need to Know
Sandboxes Sandboxes are utilized to make different duplicates of the production organization. Different or a few duplicates of the organization can be created like one…
Popular Salesforce Videos
See how fast and easy you can make intuitive Salesforce solutions to your users with Cauzali.
Instead of coding or very complex flows use Cauzali. Place your Cauzali model everywhere in Salesforce including in the middle of a Flow. Price between…
Salesforce Certifications 2022 | Which Certifications You Need & Why You Need Them
If you’re looking to start a Salesforce job this year you’re going to need a Salesforce certification. But where do you start, which certification should…
Marketing Cloud To Become Customer Company
Leverage Marketing Cloud's ability to engage customers by delivering premium personalized experiences and building meaningful relationships with them. Contact Cyntexa to boost your business with…