-
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 Editions and its Types
Salesforce Edition Nowadays emerging companies move their business to Salesforce or switch to Salesforce CRM depending upon their requirements.so the choose edition for their business.…
Streamline Sales Communication with Salesforce Inbox: A Comparison with Einstein Activity Capture
Introduction In the ever-evolving world of sales, effective communication and streamlined workflows are crucial for success. Salesforce, a global leader in CRM solutions, offers two…
Popular Salesforce Videos
What is a Salesforce Architect?
If you are not familiar with the ‘Solution Architect’ role then it can be explained relatively simply. Solution Architects are ultimately responsible for the ‘Solution’…
Modern App Development On Salesforce - Communicate between LWC components Using Events
In this series, we will explore Modern App Development on the Salesforce platform, including Heroku. The live hands-on sessions will take you through the journey…
4 Salesforce Report Formulas To Enhance Your Sales Process
Salesforce is a highly effective tool that can help businesses manage their customer relationships and sales processes. In this video, you will learn 4 helpful…