cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vjcaldeira1
Frequent Visitor

problems with checkbox

HI all!
I have a gallery that have a checkbox and some filters combobox. foe exemplo, I checked the name1 but I need to check other name that I will filter in combobox. When I clear the filter the name1 are false in check box. How Can I solve this?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @vjcaldeira1 :

The reason for this problem is that the result of the checkbox has not been saved.

The solution is to add a field "Check" (Boolean) in your data source.

Then,please follow these steps:

1\set the checkbox's OnCheck property to 

 

Patch(yourdatasource,ThisItem,true)

 

2\set the checkbox's OnUncheck property to 

 

Patch(yourdatasource,ThisItem,false)

 

3\set the checkbox's Default property to 

 

ThisItem.Check

 

Best Regards,

Bof

View solution in original post

4 REPLIES 4
eka24
Super User III
Super User III

Can you show a screenshot and also explain further.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

I selected the first name
vjcaldeira1_0-1596474989639.png

Then I needed shearch other name in filter 

vjcaldeira1_1-1596475147099.png

I selected this name too

vjcaldeira1_3-1596475257677.png

 



then I cleared this filter and when I back, the check box  that I check  are false 

vjcaldeira1_2-1596475237414.png

I would like that the checkbox continue true before the filter

 

I would like that the checkbox continue true AFTER the filter

Hi @vjcaldeira1 :

The reason for this problem is that the result of the checkbox has not been saved.

The solution is to add a field "Check" (Boolean) in your data source.

Then,please follow these steps:

1\set the checkbox's OnCheck property to 

 

Patch(yourdatasource,ThisItem,true)

 

2\set the checkbox's OnUncheck property to 

 

Patch(yourdatasource,ThisItem,false)

 

3\set the checkbox's Default property to 

 

ThisItem.Check

 

Best Regards,

Bof

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (62,462)