I have a scenario where a list of records is displayed. For each record we have two buttons EDIT and DELETE. and several other text fields like "Status". Here depending on the value in status we have to enable and disable the buttons. I have added the following LUA script in the "OnRowWillAdd" event of the ListView. but nothing is happening.
Please let me know if there is anything wrong with the script and Suggest the ways to resolve this.
local controls = thisview:getAllControls()
local status = controls.HDSChangepointApprovalStatus:getValue()
if (status=="Not Submitted") then