Message: 2
Date: Mon, 14 Dec 2009 13:19:43 -0500
From: Trevor DeVore <li...@mangomultimedia.com>
Subject: Re: Newbie Data Grid question
To: How to use Revolution <use-revolution@lists.runrev.com>
Message-ID: <2489afec-40f1-4057-88dd-e8fa53559...@mangomultimedia.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Dec 14, 2009, at 1:11 PM, James Hurley wrote:

It is heartening to see something defended by its parent. My sincere
apologies for treating your offspring in such a quick and dirty
fashion :-)

It's okay, the Data Grid likes to be beta up on once and a while :-)

As long as this is still in Beta, may I make a suggestion?
(Does anyone ever let the possibility of the answer be "no" stop them?)
I had assumed when I saw the following code in the guide:

   put field "data" into tData
   put true into pFirstLineContainsHeaders
set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" to tData

I assumed that the data grid would function in much the same way that FileMaker does when importing an Excel file, i.e. it allows one to assign the items in the first line of the file to field names and the rest of the llines to populate these fields. That would be a reasonable behavior of "dgText[pFirstLineContainsHeaders]" il.e. when the parameter is true, the column headings are taken from the first line of the text field and the rest go into filling the columns.

Or maybe introduce a second parameter to dgText .


Jim Hurley

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to