Datagrid Help

Sri sritcp at gmail.com
Thu Mar 12 20:57:21 EDT 2015


As Peter points out
http://lessons.runrev.com/m/datagrid/l/7337-how-do-i-save-changes-the-user-makes-in-an-editor-field-to-an-external-data-source
explains how you can
i) override EditFieldText with only one parameter, in which case it won't
automatically save and refresh the data grid, but you'll have to
ii) edit closeFieldEditor to write to the database and, if successful,
update dgData and then "set" it, which will refresh datagrid.

But, wouldn't the problem remain, that other users simultaneously updating a
(different) cell of the datagrid would lose their edits as soon as you save
one edited cell and refresh the datagrid (by setting the dgData)?

Each user editing a copy of the datagrid would likely resolve this problem. 

Regards,
Sri



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-Help-tp4690006p4690066.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list