dataGrid - set the dgData[TRUE] to tText

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


Hi Trevor,

> On Jul 8, 2009, at 8:55 AM, klaus at major.on-rev.com wrote:
>
>> This does not work, but should, right?
>>
>> on mouseUp
>>  put "moo,cow" into tCols
>>  put "moo moo" & TAB & "cow cow" & CR & "pig" & TAB & "oink" into  
>> tContent
>>  set the dgtext[true] of grp "DataGrid" to tCols & CR & tContent
>> end mouseUp
>
> Only if you have already defined "moo" and "cow" columns in the data  
> grid. When you include column names in the dgText the data grid will  
> not create them for you automatically.

AHA! My fault, I thought one could provide the wanted column LABELS in  
the first line.

Thanks for the info!

> Regards,
>
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> www.bluemangolearning.com    -    www.screensteps.com

Best

Klaus

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







More information about the use-livecode mailing list