Question


Chennai Institute of technology
IN
Last activity: 15 Mar 2018 5:41 EDT
Avoid Extra rows in repeat grid
Hi,
I am Magudees, i have a doubt - (how to avoid extra rows in repeat grid).My requirement is coping selected values in a pagelist into another pagelist. While appending there is a extra rows are coming along with selected rows. So can you help me how to remove extra rows in a repeat grid.
Thank you
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
IN
How your copying into another pagelist? in screen shots i did't find any selection related things?


Chennai Institute of technology
IN
Hi teegu,
Thanks for your response.I used append and map to in data transform based on when condition for coping one pagelist to another. When i am selecting 3 rows it takes extra one row.Here i attached screenshot below. How to remove that extra row?


Pegasystems Inc.
US
HI Magudees,
You can check in your second page list pxResults entries in the clipboard to see what does it contain additionally.
Regards
Mahesh
-
Hazra Ali Theertha Padman Thasitha Jayasuriya


Chennai Institute of technology
IN
Hi Mahesh,
Thanks,i checked in clipboard there is no values for pxresults in second pagelist.


Pegasystems Inc.
IN
Hi ,
I am able to see the 4 results in the clipboard for the second round page.


Pegasystems Inc.
US
By looking into your clipboard data we can confirm that an empty record is being added into your new pagelist, so you can look into your copying code to make sure where it is copying the duplicate record by tracing.


Chennai Institute of technology
IN
Thanks Mahesh, i created an activity and used Page-Remove method to remove that extra row in that pagelist.


Pegasystems Inc.
US
Basically you need to find the root cause behind the addition of this new empty row in the first entry to eliminate it from the list, rather than deleting it from the list. In a case where it don't add the empty record into the list in that case still you end up removing the first entry which is not expected.
So in your activity you can check for the empty record in the first entry then you can remove it from the list if it is empty rather than removing it directly.