Thanks for your replies.

Massimo,

How do I use generic.pdf in case these are my controller and view:


Controller:

def classtimesweek():
rows=db((db.lesrooster.bedrijf_id==1)&(db.lesrooster.dag_id==db.dag.id)&
\
(db.lesrooster.level_id==db.level.id))\
.select(db.lesrooster.ALL,db.dag.dag,db.level.level,orderby=db.lesrooster.dag_id|
\
db.lesrooster.tijd)
return dict(rows=rows)

View:

{{extend 'viewlayout.html'}}

<table id="init" class="display" style="margin-top: 12px;">
  <thead>
    ...
  </thead>
  <tbody>
    ...
  </tbody>
</table>



kind regards,

Annet.

Reply via email to