sample data grid code?

Trevor DeVore lists at mangomultimedia.com
Fri Apr 10 11:52:25 EDT 2009


On Apr 10, 2009, at 11:46 AM, sadhu at castandcrew.com wrote:

> Would love to see a code snippet illustrating how to access every  
> cell in
> a data grid, something along the lines of
>
> repeat for each row dgRow of "data grid 1"
>  repeat for each column dgCol of row dgRow of "data grid 1"
>    put dgRow & "," & dgCol into "data grid 1"[dgRow][dgCol]
>  end repeat
> end repeat
>
> I know that syntax won't work, any chance the master can show us how  
> it's
> done?

Hi Sadhu,

Question  - do you want to access the underlying data of every cell in  
the entire table or do you just want data from the visible cells?

Regards,

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



More information about the use-livecode mailing list