I have a datagrid form with an editable field. I've edited the handler "CloseFieldEditor" in order to save the edited data. However I also want to immediately/automatically save changes to the datagrid's dgData to my online database upon closing the field editor.
The problem is, dgData is not updated to reflect changes until AFTER the handler closefieldeditor finishes(according to my experience and according to the LC dictionary under the datagrid entry "EditFieldText"). So if I call my handler at the end of closefieldeditor, dgData does not yet reflect the changes made in the field editor.
I can bypass the problem in a messy way by using something like
Code: Select all
send "updateDB" to this card after 250 milliseconds
I'm using LC 8.1.6. Thanks in advance!