Display Count at the bottom of the Pagination repeating grid
My Requirement is to display count at the bottom of the repeating grid for the current page records but first we would show 50 records and later then when user goes for next page whatever the remaining records count should display at the bottom. Please find the attached document and please respond quickly if you have any solution.
Thanks & Regards
Yerubandi S Ganesh
***Moderator Edit: Vidyaranjan | Tagged SR Exists***
Here we have used pagination and whatever you said pgRepPgSubSectionpxPaging5B.pxResultCount will display all the records containing in that page but my requirement is whenever user clicked on next page in pagination it will display some records that record count should be displayed at the bottom. Simply saying whatever the records in the current page that count should be displayed.
Ex: In page 1 if we have 50 records then count 50 should be dispalyed as 50 results. In next page if we have only 15 records then 15 results should be displayed.
Here the source is page list and we have used page 1 of x pagination format in repeating grid.
Actually i wrote a script by using HTML fragment, in that i was calling an activity and taking value from recordsInCurrentPage(Parameter) and mapping to our to pega property and this property referred in the repeating grid.But thing is i was getting error while executing the java script, the error is "directly you cannot invoke an activity". So i am asking for a solution to how to implement using java script. Please refer screenshots which i have attached.