Multiple checkbox selection in repeater

Hello :slight_smile:

I will go straight to the point. I have created a table based on the repeater. The parent is accordion. Each row has a checkbox.
When the user selects the parent, children are selected. When the user selects a child, the parent is partially selected.
I also want to create checkox like in gmail with possibility of choosing what user wants to check.
I managed to achieve almost everything except selecting parent when not all children are selected.

To sum up
The user selects parent to select all
The user selects child and parent is partial selected
The user wants to resize column
The user wants to find child and child should be displayed with its parent.

Please help. The file is in the attachment.

https://hs9pry.axshare.com/#g=1&p=home
for_test.rp (206.0 KB)

Please help. The file is in the attachment.