I have a Table datagrid with a combination of Text fields and Option Menu elements in each of the columns. I created it using DGH which simplified the layout process.
I created a MODIFIED column in the datagraid that contains a flag that indicates that the row has been changed and needs to be saved to the DB.
I have also added the following handler to the datagrid table script to set the MODIFIED flag of the selected row if the contents are changed.
Code: Select all
on CloseFieldEditor pFieldEditor
dispatch "SetDataOfIndex" to group "StepTable" \
with the dgHilitedIndex of group "StepTable", "Modified", "True"
pass CloseFieldEditor
end CloseFieldEditor
Is there a message or a script that can be added to capture when the Option Menu value has been changed.
Thanks in advance for the help.