Doesn´t SQLFORM do this automatically?
One other way to do this would be like this.
In controller:
rows = db(db.data_table.id < 0).select()
return dict(rows=rows)
In view:
{{for row in rows:}}
row.idrow.data
{{pass}}
Kenneth
Hi! I want to create a FORM using TABLE but i need to create T
Hi! I want to create a FORM using TABLE but i need to create TR's
depending of the number of Rows in a query, for example if the query
returned 3 rows i need something like:
FORM(TABLE(
TR(..)
TR(..)
TR(..)
))
I want to do this dinamically... Any thoughts?
Thanks!
2 matches
Mail list logo