Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Empty row is displaying in grid after deleting selected record

SA-20422

Summary



User has configured two grids. While removing record from first grid, user has removed a record from second grid by using an activity(Page-Remove method).

And by using Delete Item user is removing the record from first Grid.

Now record from first grid removed as expected however in second grid it is displaying empty row.
 
In clipboard, selected record information was cleared from PageList. However the record was not deleted from PageList. So it is showing empty row in UI.

Error Messages



Not Applicable.


Steps to Reproduce



1. Configure Grid1 as delete button on each row. OnClick of delete button perform below actions:
a) Run activity that pageremove from this pagelist and second grid source if it matches the criteria 
b) Delete item 
c) Refresh Harness 

2. Configure first grid with expanded pane details with section contains input fields and entire details of particular row.


Root Cause



A software use or operation error:

When ever a row is deleted using page-remove, the details from second grid are deleted but the expanded section contains input elements, those values got submitted to server and these appear again creating the same section. This is the reason why user is able to see empty row.

Resolution



Perform the following local-change: 

In Delete button actions >on click action >In Refresh-current Harness, select checkbox "Disable submit on refresh", so that input elements will not get submitted.



 

Suggest Edit

Published March 5, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us