Datagrid stopper out of the gate

Jim Ault jimaultwins at yahoo.com
Mon Jul 19 13:15:45 EDT 2010


True, but as I was just following the online tutorial, and copy-paste  
code did not work.
In fact, once Rev crashed.
I now know the error was in my string trick to create the header, not  
Rev 3.5

You are correct in the best practice department.
My client app will have error checking before the data ever hits the  
datagrid and I will use fixed headers and grid dimensions.

Jim Ault
Las Vegas


On Jul 19, 2010, at 9:45 AM, Bob Sneidar wrote:

> May I suggest, that if the structure of your datagrid is known and  
> is constant, then you don't really need to set  
> firstRowContainsHeaders to true? A lot of people stumble on this  
> one, but if the columns never change, and the data is structured  
> appropriately, there is no point. The only point would be if you  
> wanted to change only the data in a single column, you could "dummy  
> up" the other columns by putting bogus data in them and the column  
> header names. You would just need to know the column position and  
> have your header and data in that position. Only the column you care  
> about would get updated.
>
> Bob
>
>
> On Jul 19, 2010, at 5:18 AM, zryip theSlug wrote:
>
>> You are correct. If for example, your header is
>> Post      Race      Track      City      State
>>
>> And the first header line of your data is:
>> Post      Race2      Track      City2      State
>>
>> Col 1, 3 and 5 will be filled with datas and col 2 and 4 will  
>> remain empty.
>








More information about the Use-livecode mailing list