Re-2: DataGrid: Let Data Grid know that first line has column names
runrev260805 at m-r-d.de
runrev260805 at m-r-d.de
Thu Feb 25 01:52:49 EST 2010
Hi, zryip.
Thanks for the link. Seems that i have missed that topic.
Regards,
Matthias
-------- Original Message --------
Subject: Re: DataGrid: Let Data Grid know that first line has column names (25-Feb-2010 7:50)
From: zryip theSlug <zryip.theslug at gmail.com>
To: runrev260805 at m-r-d.de
> 2010/2/24 <runrev260805 at m-r-d.de>:
> > Hi,
> >
> > i am fiddling with DataGrids at the moment. For that i am reading the
> > Revolution_Data_Grid.pdf and trying out the samples. But i get the sample
> > of page 19 not working
> >
> > on mouseUp
> > ## Create tab delimited data.
> > ## Note that first line has name of columns.
> > ## Providing names tells Data Grid how to map
> > ## data to appropriate columns.
> > put "state" & tab & "code" & cr & "ALABAMA" & tab & "AL" & cr & "ALASKA" &
> > tab & "AK" into theText
> > ## Let Data Grid know that first line has column names
> > put true into firstLineContainsColumnNames
> > set the dgText [ firstLineContainsColumnNames ] of group "DataGrid 1" to
> > theText
> > end mouseUp
> >
> > Nothing is put into the DataGrid.
> > If i change the line
> > put true into firstLineContainsColumnNames
> > into
> > put false into firstLineContainsColumnNames
> > then the Datagrid is filled. Am i doing something wrong?
> > Is there a typo in the line? I copied the script directly from the PDF.
> >
> > Regards,
> >
> > Matthias
>
> Hello Matthias,
>
> It was discuss before with the same question by Jim Hurley ;)
>
> Here is the thread relative to this question:
>
> http://www.mail-archive.com/use-revolution@lists.runrev.com/msg127457.html
>
>
> Regards,
> --
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
> To: use-revolution at lists.runrev.com
More information about the use-livecode
mailing list