Just to be clear
This code (with 'type' being assigned)
> { type: '{{=row.task.task_type}}',
> title: '{{=row.task.task_status}} {{=row.task.task_type}}
> {{=row.person.fullname.replace("'","\\'")}} ',
> allDay: false,
> start: new Date('{{=row.task.start_time.strftime('%B %d, %Y %H:%M:%S')}}'),
> url: '{{=URL('view_task',args=row.task.id)}}'
>
>
Gives me
<https://lh3.googleusercontent.com/-CUI8MIitQ7M/V_J6iXuOiqI/AAAAAAAAAIY/XBx00UFKkt8bQgLvaPY1yoxkpWdso3WuACLcB/s1600/with_type_property.png>
and this code (without 'type' being assigned)
{
title: '{{=row.task.task_status}} {{=row.task.task_type}}
{{=row.person.fullname.replace("'","\\'")}} ',
allDay: false,
start: new Date('{{=row.task.start_time.strftime('%B %d, %Y %H:%M:%S')}}'),
url: '{{=URL('view_task',args=row.task.id)}}'
},
<https://lh3.googleusercontent.com/-qtSZSHGpAgo/V_J63-TXcQI/AAAAAAAAAIc/i1b00jfVJc8Y-3zgal1NMs9Ght3IJ8TLgCLcB/s1600/without_type_property.png>
Data is all randomly generated!
--
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/d/optout.