Hi!
does anybody can tell me what's wrong in this controller?
def task():
if 'view' in request.args:
sdb.scheduler_task.vars.represent = lambda v,row:
myBEAUTIFY(loads(v), body=PRE)
grid = SQLFORM.smartgrid(sdb.scheduler_task,
linked_tables=['scheduler_run'],
deletable=False, editable=False, create=False, csv = False,
fields = [
sdb.scheduler_task.task_name,
sdb.scheduler_task.status,
sdb.scheduler_task.start_time,
sdb.scheduler_task.args,
sdb.scheduler_task.vars
],
orderby=~sdb.scheduler_task.id
)
return dict(grid=grid)
I want to manage scheduler task result using a single smartgrid... in
the resulting grid I got not column linked to scheduler_run.
thankyou very mutch.
Manuele
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.