however, I would like to be able to force a row to be added to the end of a grid rather than to a repeating dynamic layout, without having to specify a List and Detail Flow Action. I have a form with a lot of grids in it, and by specifying a List, I would have to create a separate instance of the Add Item action for each one - even if I do this, I'm not sure what to enter as a Detail Flow Action.
Would I need to Save As and rename my own version of the AppendToPageList activity and modify it in order to accomplish this for a grid?
Yes, I believe you will need to override or write your own activity. I imagine the approach might look something like this. Get a handle on the pagelist and then use the <APPEND> tag. Or get the length of the pagelist and insert at length+1. Something like that.
But I am thinking of another idea that I am not sure if it works or will work for you, but what if you disable row selection entirely. This way add a row has no other option, but to append at the bottom?
Using the Data Transform works, but to view the new row I had added Refresh List. Every time a add a new row it takes me to the beginning of the list andI have to scroll down to view the result. Is there any way that I scroll down the grid, click on add new row button and it adds the row and focus stay there?
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query.
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s at the top of this screen and also on our Pega Support Community homepage. Once created, please reply back here with the URL of the new post.
We have also sent you a private message opening up a communication channel in case you have any further questions.