Question
JSC Sberbank of Russia - Ukraine
UA
Last activity: 15 Sep 2015 4:36 EDT
How to know when User click on Pagination section in RepeatGrid ?
Hello,
I use RepeatGrid with a short information and when User click on Grid, I show the detailed data. When User click on Pagination section (pyGridPaginator), information in Grid changes. But I don't know about this and can't change detailed data.
So, how to know (and get control) when User click on Pagination section in RepeatGrid ?
-
Like (0)
Gaurav Kumar -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
FR
Hi Volodymyr,
In your version of PRPC when moving from a page to another, the system is using the following activities I think:
So basically refreshing the SECTION to present the new information. Also, in red rectangles, you have placeholder activities. Those activities called by the system aren't doing anything yet and can be customized.
Why don't use those activities to refresh your parameter and make sure the screen will be refreshed with an empty block3.
Pegasystems Inc.
FR
Hi Volodymyr,
Which version of PRPC are you using ? In general when a user clicks on pagination buttons, the activity called pzDoGridAction is called. This activity is using a lot of parameters to know on which page you currently are and where you were coming from:
I'm not fully sure what you are trying to do but you can surely use those parameters to know if the user touch the pagination SECTION.
JSC Sberbank of Russia - Ukraine
UA
Hi Marc,
I'm sorry for late answer. I am trying to understand how to use pzDoGridAction for catching actual Pagination info in my application. But I still haven't good solution.
So, let me explaine the task in more detail.
I have an application with Repeat Grid with data from Report Definition. Look at section #1 in screenshot below.
When I click on record in Repeat Grid, the section with Detail information #3 changes. It fills with data for selected string in Repeat Grid.
It's all right when you are clicking on records on current page in Repeat Grid.
But when you click on Pagination section #2, information in Repeat Grid changes, but Detailed info in section #3 stay freezed with data from previous clicked record.
Some Users fell uncomfortable of this UI behavior.
So is it possible to catch the click on Pagination section (#2) in PRPC Application ?
If yes, how to us it ?
P.S. We are using PRPC ver. 6.3 in Production mode, but it is possible to migrate my Application to 7.1 version if it helps.
Accepted Solution
Pegasystems Inc.
FR
Hi Volodymyr,
In your version of PRPC when moving from a page to another, the system is using the following activities I think:
So basically refreshing the SECTION to present the new information. Also, in red rectangles, you have placeholder activities. Those activities called by the system aren't doing anything yet and can be customized.
Why don't use those activities to refresh your parameter and make sure the screen will be refreshed with an empty block3.
JSC Sberbank of Russia - Ukraine
UA
Hi Marc,
I think, the activity pyPreGridUpdate can help to control clicks on Pagination section. It's already made precondition in pyPreGridUpdate for this.
Is it possible to know the Name of Section with Repeat Grid where the Pagination was clicked ?
I need to know this because pyPreGridUpdate activity will be called in other Repeate Grid sections.
Pegasystems Inc.
FR
Hi Volodymyr,
I wouldn't change the SECTION or the pxLink CONTROL associated with the paging. As I said on my previous post, you have a lot of paramaters (see screen shot above) available at runtime to identify which grid is currently running.
So just a create a Pre-Condition to make sure you are on the right grid and either do the necessary work or exit the activity.
JSC Sberbank of Russia - Ukraine
UA
Hi Mark,
Thanks for your help. I think now it's enough infomation to make a solution.