Shane schrieb:
> Hello Diez,
> 
> I, too am in need of a way to load DB values into a SingleSelectField
> within a GrowingTableFieldSet.  I used Alex's method of passing a
> function working easily on the initial load, but If I am loading a
> series of existing entries (to edit an existing line item within an
> order for instance, then I need to load data into the template using
> some sort of child_arg passing. I was wondering if you had come up
> with any method?

Unfortunately no, not so far. And I'm not sure if your use-case can be 
tackled by this anyway.

The reason is that the growing table stuff works by creating a hidden 
"template node", which is the one which determines for example the 
options in a select-field.

Now adding rows will clone this node - and that of course always with 
the default options.

Now if I understand you correctly, you want to have individual options, 
per row - most probably based by some other field's value.

To make this work for all fields, you'd have to use Javascript then anyway.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to