Datagrid stopper out of the gate

Bob Sneidar bobs at twft.com
Mon Jul 19 12:45:41 EDT 2010


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