dataGrid - set the dgData[TRUE] to tText

Trevor DeVore lists at mangomultimedia.com
Wed Jul 8 08:56:50 EDT 2009


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.

Regards,

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



More information about the use-livecode mailing list