Question

Popup modal dialog after focusing out of inline edit

How we can show a popup and do other user actions after we move out from the row for inline edit.

For example, after inline edit we need a confimation message to save the changes to db or not.

***Edited by Moderator: Lochan to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

October 21, 2019 - 2:47am

Hello,

I guess it would be easiest to do it with a MODAL instead of a popup. You will be able to Submit or Cancel your changes there.

October 21, 2019 - 3:29am
Response to MarcLasserre_GCS

The issue is there is no configuration to call a user action on focus out. Is there any way to invoke the "Launch modal dialog" on focus out of the current editable row?

Pega
October 24, 2019 - 3:51am

Hello,

If I understood your requirement, I think you're talking about the display of the "pyDirtyPopup" to ask the user "Do you want to save or discard the changes made?".
In order to achieve this, set the "pega.u.d.gDirtyOverride = true; " in a non-auto generated section within the grid section and the pop-up to save or discard your changes will be displayed.