Question
· Feb 14

LookupSettings.cls custom code trying to pull rowdata from the table when "User Clicked the Delete button for a row"

Working on a custom view for LookupSettings.cls.  I've added code to adda Change Log entry into the table when rows are added/updated.  I'm trying to do the same for when rows are deleted.  How can I pull the key & value for the row when it is selected for delete /un-delete?  The variable rowData is used a pointer for the row index.  I know I'm missing something simple... 

from: ClientMethod removeRow(row, addBack) [ Language = javascript ]

var ThisRow  = ????????

var values this.getTableValues();
var user zenPage.GetUserName();
var DT zenPage.GetCurrentDT();
var autokey '###'DT +' by 'user;
var autoValue '### UN-deleted row: ' + ThisRow; 
var data { "key": autokey, "value": autoValue, "_isNew": true };
values.push(data);

Product version: IRIS 2021.1
$ZV: IRIS for UNIX (IBM AIX for System Power System-64) 2021.1.3 (Build 389U) Wed Feb 15 2023 15:00:14 EST [Health:3.3.0]
Discussion (1)1
Log in or sign up to continue