-
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
Salesforce Field Service Lightning | All You Need to Know
FSL is an extension of Salesforce Service Cloud that helps you and your team members, who work outside the office at clients locations, to manage…
2023 CRM Landscape: A Deep Dive into Salesforce vs Microsoft Dynamics
Business rivalry with healthy competition is quite common among all industries. It eliminates monopoly and gives more options to choose for users. When it comes…
How Can Salesforce B2B E-Commerce Boost Your Business Growth?
In today's competitive digital marketplace, businesses are continually seeking innovative ways to enhance their growth. One powerful tool that stands out is Salesforce B2B E-Commerce.…
Popular Salesforce Videos
5 Different Ways To Make Field Mandatory In Salesforce
Watch this video to check out 5 Different Ways To Make Field Mandatory In Salesforce. Do check out the playlist on Salesforce Lightning https://www.youtube.com/watch?v=gyJIB-y_OCE&list=PLfhCqnDpK3b_rnWbWj6c2O1P73SACq8D-
Is Salesforce Career Recession Proof?
Is Salesforce Career Recession Proof? Watch this video and get all the knowledge about the Salesforce industry. Join this useful group for Salesforce job &…
Dreamforce 2019 - An Overview!
Salesforce Dreamforce2019 is scheduled for November 19-22 in San Francisco, California at the Moscone Center. #Dreamforce is one of the largest cloud and SaaS-centric conferences…