Getting Label value when running a grid update event script [onEditCellCommit event]

I am trying to get an adjacent label text that is in the same view to add as a parm to the update call. But am having issues get the container and locating the label component. I tried the parent.GetComponent and get Window first to call a GetComponent to no avail. My label object is ‘Label_1’

def runAction(self, event):
# Get the id of the row we edited.
id =, ‘LogDate’)
agent = event.source.parent.getComponent(‘Label_1’).text

query = "UPDATE MYTABLE SET %s = ?, LastUpdater = ? WHERE LogDate = ?" % event.column
args = [event.value,agent,id]
# Run the query with the specified arguments.
system.db.runPrepUpdate(query, args)
# Requery the database, so we can ensure it properly updated the table.