-
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
Using Batch Apex in Salesforce | The Developer Guide
Batch Apex Batch Apex is used to process enormous amounts of data or we can say jobs e.g if we have thousands or millions of…
Always Implement 2FA when providing web services on top of Salesforce
How many time have you herd the sentence “SECURITY is never enough” ? especially in IT and digital services we always add new fences, walls…
What is Salesforce Journey Builder?
For any CRM customer, life cycle management is the top priority. It is through the insights from the customer lifecycle; a company is able to…
Popular Salesforce Videos
What is CPQ (in Salesforce)?
This videdo explains Configure Price Quote (CPQ) in Salesforce by dividing this topic into 4 basic points, which are: 1. What is the basic sales…
All About Public Group in Salesforce
Public Group represents a custom group of users defined by an administrator. Users can be added to a public group individually, or based on their…
3 Easy to Use Salesforce Field Service Dashboards | AblyPro- Live Webinar
Watch AblyPro's exciting webinar video on Salesforce Field Service Reports & Dashboards. Discover how these powerful tools can drive efficiency and cut support costs for…