Le 4 janv. 10 à 00:49, zryip theSlug a écrit :

Hi André,

Why not using a template instead of a copy paste?

Happy new year to you too ;)

-Zryip the Slug- wish you the best! 8)

Bonjour,

I must confess that, up to now, I did not learn a lot about customizing the Data Grid Templates substack ;-). I just dragged a data grid and set its properties in the inspector, or by scripts.
So thanks you very much for your suggestion;
It induces me to read (and try) more deeply what concerns this topic in the Trevor' manual. I am going to do that right now!

Best regards from Grenoble
André




2010/1/3 Andre.Bisseret <andre.bisse...@inria.fr>:


Then, I red the lesson which explains how to create a data grid through
script.

But I am trying to avoid re-defining for each new card, the properties of
the data grid (columns, their names and labels, their width etc.

So my later trial is as follow :

I create a data grid "dataGrid" (with all needed properties defined) on the
first card of the stack.
I don"t include it in the background of this first card

Then, when I create a new card I do :

 copy grp "DataGrid" of cd 1 of this stack
  paste
  set the dgText of grp "DataGrid" to empty

So I get a data grid (with the same name) on each new card ready to be
specifically populated for this card.

Seems to work well :-)

Trevor, is this a good way to go or are there some warning against it?

Thanks a lot in advance for any advice

Heureuse année 2010
André



_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to