data grid by hand doesn't create a data grid templates' substack
Andre.Bisseret
Andre.Bisseret at inria.fr
Wed Mar 24 13:01:48 EDT 2010
Bonjour,
When one drags a data grid from Tools one gets a data grid templates
substack nnn
But if one creates a datagrid with:
------
copy group "DataGrid" of group "Templates" of stack
"revDataGridLibrary" to card 1 of this stack
put it into theDataGridRef
------
there is not such a substack.
then I suppose that the data grid will work only in the IDE? (being
dependent of the revDataGridLibrary)
Seems I am missing something here
Could be that In the lesson, I don't well understand the following:
----------------
set the dgProp["row template"] of theDataGridRef to the long id of
group "MyRowTemplate" of stack
"MyStack"
You should probably create this ahead of time using the IDE. For
example, you could create a data
grid and then delete it while leaving the row template behind (it will
exist on a card in "Data Grid
Templates xxx" stack).
--------------
With what should I replace "MyRowTemplate"?
I am not in a hurry about that but would like to better understand ;-))
Best regards from Grenoble
André
More information about the use-livecode
mailing list