Datagrid question

Peter Haworth pete at lcsql.com
Thu Apr 16 11:48:01 EDT 2015


You need to dispatch or send the setDataOfIndex to the datagrid.

Pete
lcSQL Software
On Apr 15, 2015 9:59 PM, "William Prothero" <prothero at earthednet.org> wrote:

> Thanks! Worked like a charm. Now I suppose, to get it back in the data
> grid cell, it’s:
>
> local savedColumnINdex,savedRowIndex   —saved from command that loaded the
> data from the cell into the field.
>
> on mouseUp
>     put fld “editedCellContents” into myEditedData
>     setDataOfIndex(savedRowIndex, savedColumnINdex, myEditedData)
> end mouseUp
>
> Whoops! Not quite. The button doesn’t find the handler. I’ll have to
> fiddle with it more tomorrow. It’s late here.
> Thanks,
> Bill
>
> > On Apr 15, 2015, at 5:33 PM, dunbarx at aol.com wrote:
> >
> > on mouseDown
> >   put getDataOfIndex(the dgHilitedIndexes of me,the dgColumn of the
> target) into vld "yourField"
> > end mouseDown
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list