dataGrid - set the dgData[TRUE] to tText

klaus at major.on-rev.com klaus at major.on-rev.com
Wed Jul 8 04:45:45 EDT 2009


Hi SEan,

Am 08.07.2009 um 10:36 schrieb klaus at major.on-rev.com:

> Hi Sean,
>
>> should the following not work? line 1 "moo" and "cow" would be the  
>> labels of the columns and line 2 "pig" and "oink" would be the data  
>> for each of the columns.. all i get is an empty data grid..
>>
>> on mouseUp
>> set the dgText[TRUE] of group "DataGrid" to "moo" & TAB & "cow" &  
>> LF & \
>>        "pig" & TAB & "oink"
>> end mouseUp
>
> works for me if I use CR instead of LF and if there are already at  
> least two
> (unlabled) columns  in the DG :-)

Sorry, just did a test, and this does not work here either?
Oops, the column names must be a comma separated list, but that does  
not work, too?


TREVOR! :-D


Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com







More information about the use-livecode mailing list