...
Code Block | ||||
---|---|---|---|---|
| ||||
/** * Method to execute before row selecting to display ExternalScreen hasChanges prompt * @param grid */ export function onBeforeDossierSelectonBeforeGridRowSelect(grid: akioma.swat.Grid) { const payload:any = {}; const DocviewerExternalScreen = akioma.ExternalScreen.getExternalPopup('sDocViewerExternalWindow'); const hasChangesExternal:boolean = DocviewerExternalScreen.akioma.swat.Root.getFirstChildByType('businessEntity').hasChanges(); if(hasChangesExternal) { payload.promptCursorChange = true; } return payload; } |
...