cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
treiSapte
Level: Powered On

Check/UnCheck all children of a treeview checkbox

Hello, I am new to powerapps and I need some help:

I have a gallery like in the photo below.

The treeview is made like in this example: https://www.linkedin.com/pulse/nerdy-article-creating-powerapp-mobile-app-browse-structured-dagan/

My question if it's there a method to have all "LEVEL 3" items checked when I select "LEVEL 2" checkbox.

demodificat.png

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Check/UnCheck all children of a treeview checkbox

Hi @treiSapte ,

 

You could follow below steps to achieve this:

1. Set the OnCheck property of Level2 check box to:

Set(V1,true)

2. Set the OnVisible property of the current screen to:

Set(V1,false)

3. Set the Default property of all the Level3 check boxes to:

V1

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Check/UnCheck all children of a treeview checkbox

Hi @treiSapte ,

 

You could follow below steps to achieve this:

1. Set the OnCheck property of Level2 check box to:

Set(V1,true)

2. Set the OnVisible property of the current screen to:

Set(V1,false)

3. Set the Default property of all the Level3 check boxes to:

V1

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.