[Data grid] dgProp[column labels] returning nothing

Andre.Bisseret Andre.Bisseret at inria.fr
Tue Aug 4 08:09:24 EDT 2009


In a script involving a data grid I need its number of columns. My  
idea (is it the good one ?) is to use the number of lines of  
dgProp["columns"] or of dgProp["column labels"]

My first trial was :
put the dgProp["column labels"] of grp "data grid 1";  which returned  
Then I tried :
put the dgProp["columns"] of grp "data grid 1"  which, as expected,  
returned a line delimited list of the columns names of the data grid

Trying these two ways on several differents data grids (on which each  
column has a name and a label) I get the same results (success with  
"columns", not with "column labels".

I am not in a hurry as I get what I need with dgProp["columns"]

But, I am curious to know what I am missing when I try dgProp["column  

Best regards from Grenoble


More information about the Use-livecode mailing list