Posted: 13 Mar 2018 1:44 EDT Last activity: 15 Mar 2018 5:41 EDT
Avoid Extra rows in repeat grid
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.
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?
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.
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.