-
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
Role of Salesforce Implementation Partners in Data Migration
In today’s fast-paced business world, Salesforce stands out as a key player in customer relationship management and sales automation. Utilizing Salesforce Implementation Services can significantly…
When is the Right Time to Migrate to Salesforce Lightning Experience?
Oh! You are here, which means you are intrigued and excited about Salesforce Lightning experience. Let’s start with a general question that’s on everyone’s mind:…
Salesforce Org Control Access: Who can access and What to access
Salesforce gives an adaptable, layered information-sharing structure that permits you to uncover various informational indexes to various arrangements of clients, so clients can carry out…
Popular Salesforce Videos
ChargeOn Payment Processing For Salesforce: Enhance Your Salesforce Payments
Do you wish to receive payments in Salesforce but are unsure how to get started? Don’t worry; we've got you covered. ChargeOn is a fully…
Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development
Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a
Marketing Cloud Connect: Syncing Data Back to Sales and Service Cloud
We demo how to expand the capabilities of Marketing Cloud Connect to automatically sync any data from Marketing Cloud over to Sales and Services Cloud.…