You need to sign in to do that
Don't have an account?
Alo Sen
Is there a way to limit the number of rows returned by the value attribute in <apex:pageBlockTable>
There are 6 rows returned by the value attribute and I would like to show only 5 rows, since the 6th row is a column total which is required for reporting but does not need to be shown on the visual force page. How do I control this?
Please try <apex:variable tag. This will resolve your issue.
Please create a vaiable "Size" in your controller. And use rendered in column so that last record will not visible in table.
Link:-
https://www.salesforce.com/docs/developer/pages/Content/pages_compref_variable.htm
http://www.infallibletechie.com/2012/11/how-to-increment-apexvariable.html
http://www.eltoro.it/ArticleViewer?id=a07A000000NPRiPIAX
http://www.codespokes.com/2013/01/how-to-use-apexvariable-in.html
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help
All Answers
Please try <apex:variable tag. This will resolve your issue.
Please create a vaiable "Size" in your controller. And use rendered in column so that last record will not visible in table.
Link:-
https://www.salesforce.com/docs/developer/pages/Content/pages_compref_variable.htm
http://www.infallibletechie.com/2012/11/how-to-increment-apexvariable.html
http://www.eltoro.it/ArticleViewer?id=a07A000000NPRiPIAX
http://www.codespokes.com/2013/01/how-to-use-apexvariable-in.html
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help