Moderator
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification 2 years, 8 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.