Cell changed in dataGrid

Yves COPPE yvescoppe at skynet.be
Wed Apr 29 13:25:13 EDT 2009


Le 29-avr.-09 à 19:20, Trevor DeVore a écrit :

> On Apr 29, 2009, at 1:08 PM, Yves COPPE wrote:
>
>> Hello
>>
>> I have a table datagrid
>> the user doubleclick a cell o chnage the numbre in the cell
>> I'd like to know by script which is the row tha has been changed  
>> and the new data of the whole row
>>
>> How can I do that ?
>
> The CloseFieldEditor message. I discuss this in an email sent to the  
> list that you can read here:
>
> <http://article.gmane.org/gmane.comp.ide.revolution.user/122614/match=command+editvalue 
> >
>
> In CloseFieldEditor you can check the dgIndex of the dgDataControl  
> of the target and then use that index to grab any other data you  
> need from the data grid.
>
> on CloseFieldEditor pFieldEditor
>    put the dgColumn of the target into theColumnThatWasEdited
>    put the dgIndex of the dgDataControl of the target into  
> theIndexThatWasEdited
>    ....
> end CloseFieldEditor
>
> Regards,
>



Re,

thanks.

Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list