Within Teamwork, you can expand and collapse subtasks depending on whether you want them to be visible.
A parent task that has subtasks attached will have a number beside it denoting how many active subtasks it has.
Click this number to the left of the task name to expand the corresponding subtasks.
Click the subtask count again to hide the subtasks.
For more information, see: Collapsing and Expanding Task Lists