close a DataGrid

Trevor DeVore lists at mangomultimedia.com
Mon Sep 21 09:21:56 EDT 2009


On Sep 20, 2009, at 4:37 PM, Beat Cornaz wrote:

> I want to close an open cell (field) in a datagrid
>
> dispatch "CloseFieldEditor" to grp "DataGrid 1"     -- does not work.
>
> This does not work either :
> put the long id of the target into tFieldEditor       -- the target  
> being that field
> dispatch "CloseFieldEditor" to grp "dataGrid 1"  with tFieldEditor
>
> I don't seem to find how to do it in the manuals and the older  
> postings in this group.

Use DeleteFieldEditor.

There is a vague reference it on the API page under EditFieldText.

Data Grid API: <http://revolution.screenstepslive.com/spaces/revolution/manuals/datagrid/lessons/3461-Data-Grid-API 
 >

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Application Development with Revolution Course: http://revolution.bluemangolearning.com/software/revproappdev/



More information about the use-livecode mailing list