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

Dirty popup displays when expanding a row of an expandable grid

SA-47680

Summary



A dirty popup displays when expanding a row of an expandable grid. This occurs despite not changing the case details.


Error Messages



You are about to discard your unsaved changes


Steps to Reproduce

  1. Configure a table control with Master details as row editing operation
  2. Select 'expandable rows' as the display option
  3. Expand any row of the grid during run time
  4. Navigate to other tab or close the case without changing the case data


Root Cause



This is as per Pega product design when a refresh action is triggered on the case.


Resolution

Perform the following local-change:
  1. Include pxDisableClientDirtyDetection embedded section in the parent section
  2. Configure an action set Event as Change and Action as RunScript in all the editable fields in the grid
  3. Add the below script in the UserWorkForm:

function resetDirtyFlag(){
pega.u.d.gDirtyOverride=true;
}


Suggest Edit

Published March 29, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

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