Rendering (a copy of) an activity somewhere else?


I’m writing a custom project renderer that displays a flattened view of all the subtasks, as opposed to just the start and end dates. In other words, I’m copying all the task nodes into the project node, displaying them all on one line (as read-only). This needs to be done even when the project is closed and the original tasks are not rendered, so I can’t just copy the nodes using DOM. I’m currently using _render_task_element to create these new task nodes, but this is a private method. Is there a way to do this using the public API?

Best regards,

have you checked this example? … aying.html

Thanks, this was exactly what I was looking for!