A blank row gets added while removing a row from a pagelist and refreshing


I have a section where I'm displaying a page list, there are delete buttons for each row in the page list. Problem is that when I'm removing a particular page/row from the page list by clicking the delete button and refreshing the screen its adding a blank page at the end of the page list although the intended page/row gets deleted. Anybody faced this before or any idea would be really helpful.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

November 7, 2013 - 7:33am


Are you initializing any property values in the Pagelist in any activities that is called during the screen refresh ? Running the tracer will help you to find out the exact step where the empty page gets embeded into the page list.


thanks !!

November 7, 2013 - 10:44am

Make sure to trace and find out which activity is appending on refresh of your section.

November 8, 2013 - 1:38am

Hi Veerappan-1 and JCHIMVA2,

Yes,  let me explain the scenario : In the pagelist there is a checkbox for each row clicking on which will call an activity and refresh the section (onclick event). If there is no onClick event in the checkbox (a simple checkbox) then the delete functionality works fine and its not appending the blank row at the end.

I have traced it and I can see that in the first step of OOTB ReloadSection activity which gets called for section refresh, its appending the blank row. If there is no onClick event for the checkbox then in the same step its not appending the blank row.

Thanks, Rahul

November 14, 2013 - 10:26pm

There is an error in this case.I have observed on tracer that the refresh section happens twice and the second time it undo the work whatever it did in the first refersh.The same issue i have faced in modal dialog.Not sure about directly using it on harness.


By the time i was thinking of raising an SR with PEGA client came with a new requirement to use drop down than check box.that saved my time...:-)


the reload section for checkbox on repeat grid executes twice.So either try writing a custom check box (OR) else raise an SR


December 2, 2013 - 7:27am

Hi rahul,
I am also facing the issue like empty rows are getting added to the pagelist in the repeat grid after refreshing the section.can you please help me out in this if this is resolved for you.

May 21, 2014 - 4:04am

We have faced the same issue. we have PEGA SR for this. they have provided hotfix


April 27, 2016 - 10:51am

Just add the customized ( just give your own page, pagelist & property  names there ) function code of pxRemoveEmptyPagesFromPageList  in a Java step after the step 'call MSOParseExcelFile step.