data grid error - Error description: Chunk: can't find background
andre.bisseret at wanadoo.fr
Thu Jun 28 03:05:40 EDT 2012
Replacing "DataGrid1" with "DataGrid 1" (with space) gives the same (good) result
Début du message réexpédié :
> De : André Bisseret <andre.bisseret at wanadoo.fr>
> Date : 28 juin 2012 08:29:59 HAEC
> À : How to use LiveCode <use-livecode at lists.runrev.com>
> Objet : Rép : data grid error - Error description: Chunk: can't find background
> Bonjour James,
> Here with a data grid "Datagrid1" without space before 1
> and 5 columns named :
> - name
> - filename
> - display_page
> - current_book
> - id
> a copy of your script populates the data grid as expected ; no problem ;-))
> Best regards from Grenoble
> Le 27 juin 2012 à 19:32, James Hale a écrit :
>> I have finally got around to using the DataGrid.
>> I have an array that I want to display in a datagrid
>> I have dragged one on to the current card, named it "datagrid1" and set the column names.
>> as an example:
>> put "fred" into theRecordsB[name]
>> put "fred file" into theRecordsB[filename]
>> put "a page" into theRecordsB[display_page]
>> put "yes" into theRecordsB[current_book]
>> put "1234" into theRecordsB[id]
>> set the dgData of group "DataGrid1" to theRecordsB
>> When I run this I get the following error:
>> Message execution error:
>> Error description: Chunk: can't find background
>> What does this mean?
>> What background?
>> Apart from setting the column names in the Datagrid object, is there something else I should have done?
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode