datagrid : how to show a list when the user edit a cell?
bobs at twft.com
Mon Nov 22 14:37:16 CST 2010
I guess you could trap exitField and call a dataGrid function for updating the dataGrid. To pass the proper dataGrid objects to the editable field in the first place, like the selected line and what have you, you can set the dialogData, which is a persistent global for think kind of thing. That way your exitField handler in the editable field can send messages to the dataGrid to update it.
If the list is part of the row template, even better.
I would definitely go through the DataGrid tutorial that (I think) Trevor Devore did. Very helpful.
On Nov 22, 2010, at 11:30 AM, JosepM wrote:
> Bonjour André,
> Yes, but showing the field "Résultats" over the datagrid when the user enter
> values into the cell.. I don't know how show it and intercept it the result
> to put again into the cell to search into the database when the user end to
> edit the cell... :(
> And the field "Résultats" growing as the width of the cell. :)
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-show-a-list-when-the-user-edit-a-cell-tp3051603p3054293.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode