Data Grids ???
Trevor DeVore
lists at mangomultimedia.com
Mon Apr 13 15:36:55 EDT 2009
On Apr 13, 2009, at 3:27 PM, Richmond Mathewson wrote:
> What I found slightly worrying was that my tab-delim text file had 9
> columns of data; all 9 were imported into the Table-Field, but for
> some
> unknown reason, only 8 were imported into the DataGrid:
>
> http://mail.maclaunch.com/richmond/rrprobs.html
The reason you see different behavior between a data grid table and a
field is that a field just displays whatever text you put into it. A
data grid is made up of columns so if there are not enough columns to
display your data then that data is not displayed.
When you import text into a data grid using the Property Inspector,
the Property Inspector sets the dgText property of the data grid to
the contents of the text file.
When setting the dgText property for a data grid table, the data grid
will automatically create columns to match the number of items of the
first line of the text in order to help you out. Looking at your
screenshot it looks like the data may only have 8 items in the first
line.
You can manually add a 9th column using the Property Inspector (look
in the Columns pane) at which point the 9th item in your other rows
will display.
Regards,
--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com
More information about the use-livecode
mailing list