Posted: 9 Oct 2015 9:50 EDT Last activity: 19 Apr 2017 9:33 EDT
How to refresh a single page in repeating grid if it is splitted based on Pagination
I am showing data,search result, using Report defination which is in repeat grid.the each row of the report defination has delete and update button.On pressing delete the data status changes to inactive and the delete button should be deactivated.
Similarly on pressing update a new section gets opened to update data and after successful updation the last report defination page should gets displayed with updated result.
On delete button I wrote an activity(click-->Run activity) to change the status and then refresh list(click-->refresh list).but the current report defination page does not get refreshed.
similar is the case for update.the page 1 gets displayed though I stop Page-New in the preactivity when gets back to search page from update page.
***Updated by moderator: Lochan to add Categories***
In general, it seems as if your scenario might not be possible based on the current behavior. I have reached out to a few resources to take a look at your post in case they can provide other suggestions.
I just tried a similar configuration on my but if you are using the click-->refresh list, I believe the report will be executed again during the actual refresh of the screen. So you will end up with the original values. Have you tried to refresh only the current line ?
You will not have this option on PRPC 6.2sp2 I believe. I guess an easiest approach would be to run the report before the presentation of the section and then use the result page for your repeating grid. Using this option, the refresh won't be firing the report again and you will keep the updated values.
I tried the same thing.But does not work.Button configuration is as follows.
The disable condition does not work.My requirement is that --suppose I am at page 3 and then press the delete button against a particular data row.
The data gets inactive and the delete button gets deactivated.But this deactivation is not happening.I make the active=Y to N by running the script.The script is required to produce the confirm msg box.
Pls help and try to replicate my scenario in your internal PRPC.
My report definition actually fetch the search result depending on the search parameter.Now one of the search param is Status.If the run on client option=yes then the delete button gets enable on selecting the status=Active and vice-versa irrespective of the data status saved in the DB i,e if we run the search without any search param it will bring all the data with Delete button enabled/disabled for active/inactive data.Now if we select Status param=Active,the Delete button gets enabled for all the data though for few data the status =N in db as the client option=yes.that's why "Run on client" option is set to no.