You need to sign in to do that
Don't have an account?

display serial no of record in standard list control Visualforce pagination
Hi guyz,
I'm trying to display serial number of record using vfp, standard list control. using below code:
here my problem is while using pagination in second page also serial no starts with 1. instead of 11,12,13..etc.
kindly give suggestion.
i'm a learner.
I'm trying to display serial number of record using vfp, standard list control. using below code:
<apex:variable var="rowNo" value="{!0}"/> <apex:pageblocktable value="{!cnts}" var="cnt"> <apex:column headerValue="Sl.No"> <apex:variable var="rowNo" value="{!rowNo+1}"/> {!rowNo} </apex:column>using above code for first colum,
here my problem is while using pagination in second page also serial no starts with 1. instead of 11,12,13..etc.
kindly give suggestion.
i'm a learner.
Can you please post your full code so that i can help you
I got the issue you are facing. We faced this issue on custom controller.
That time we made use of another one variable .
But i think in your case as Amit pointed out, i also feel the same .Things will work if rerender only the pagBlockTable
This should work
Thanks and Regards,
Shiva RV
here is my full code:
Let us know if this will help you
I am using similar kind of code to display serial number and pagination for it. It is displaying the serial number. when i click on next link it is moving to next set of records with serial numbers. When i click on previous, it is not giving previous set of serial numbers. Kindly help me to solve this issue.