See this: Building a to do list application using dynamic components
And this: A Simple To Do List | Using Colin TreeListView extension (Here I don’t want to disclose a paid aia, but a form/extension - Colin TreeListView)
For more search in the community. You have more examples there.