Moderator
1 year, 11 months ago
#38475
::
I see. How do you group these tasks?
If the number of groups is fixed, you could group them inside a Server-Side Business Object function which has several output parameters. Then, you could use several containers with a CheckBox inside and use the respective output parameter as the CheckBox Data Source.
If the number of groups is various, you could also think about a nested binding. If your data looks, for example, like that:
[
{group_name: "Simple Tasks", tasks: [{...}, {...}, ...]},
{group_name: "Difficult Tasks", tasks: [{...}, {...}, ...]},
...
]
you can template the Title and the container with the CheckBox. In this thread, I describe how to do a nested binding: https://community.simplifier.io/forums/topic/expression-binding-to-a-sub-collection-in-a-collection/
Let me know if you have any further questions.