-
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 can Salesforce CRM be used for Small Businesses?
With straightforward tools, a connected app, and Salesforce dashboards & analytics, small businesses can develop a thorough picture of their present and potential customers. By…
Top 5 Accounting Software For Salesforce
Salesforce unlocks the door to opportunities for better customer relationships and engagement. Businesses working on Salesforce might face difficulties in handling income, expenses, cash flow,…
Top 10 Salesforce Admin Tips in 2018
No doubt, you might be the best Admin, but still, you will always look for tips to maintain the spark of being the best. When…
Popular Salesforce Videos
Welcome to the New World of Data Collection | Salesforce | Summer Internship
Secure data collection built for your needs. With FormAssembly, your organization can streamline outdated processes and power important business initiatives. To enroll Contact us +91…
Join My Salesforce Team at Google!
We are hiring four Salesforce Technical Architects on my team at Google. I believe these roles are on one of these most interesting Salesforce implementations…
Salesforce Announces New Salesforce CDP Updates
Salesforce has recently announced a new series of innovations for its customer data platform (CDP). These Salesforce CDP updates have been developed to help companies…