datagrid: force to send "on closeeditor" to one column

Bob Sneidar bobs at
Tue Mar 8 16:01:00 EST 2011

I don't know what you mean by "drops a row". Do you mean deletes a row? 

closeEditor gets sent to the dataGrid. The column is not an entity per se, the way a row is. You can get the data of an index or row and get the array for that row, but you cannot get the data of a column in the same way. 

closeEditor is a system message that gets sent to the dataGrid (I believe) when you terminate the editing of the special field used for editing. You should be able to trap for that in the dataGrid script. If you want to generate the message yourself, you can dispatch closeEditor to the datagrid, but I do not think that will actually close the editor. If you trap it, then you should pass it when you are done. 


On Mar 8, 2011, at 12:24 PM, JosepM wrote:

> Hi,
> How can send a "on closeeditor" to one particular column of a datagrid?
> I do some checks into the closeeditor and when the user drop a row I need
> fire the closeeditor.
> Any idea?
> Salut,
> Josep
> --
> View this message in context:
> Sent from the Revolution - User mailing list archive at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list