Hello

I need to generate a grid like

<https://lh3.googleusercontent.com/-Y_uOwCxGkY0/Vaguw-0K1DI/AAAAAAAAAJM/4dkpl2IQORc/s1600/Captura.PNG>




table definition is:

db.define_table ('produccion',
                Field ('proyecto', 'reference proyectos'),
                Field ('month', 'date'),
                Field ('ton_presup', label='Budgeted Tons'),
                Field ('ton_adic', label='Additional Tons'),
      
                )


I have currently generated the form in the view only, iterating rows, but 
want to do it from the controller using form factory for validation 
purposes.



the number of rows and starting month may vary.

How can I use a list item as a variable name, and by the way is this the 
best approach?




Any hints?

thanks

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to