cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amyharkus86
Resolver I
Resolver I

CheckBox not showing tick when checked.

Hello.

 

I have a gallery that is used to export the selected item to CSV, the user can check a checkbox to change the item to ischosen true and the to allow them to export the selected items from the gallery to be exported to CSV.

OnChecked 

Patch(colDWB, ThisItem, {IsChosen: true})

OnUncheck

Patch(colDWB, ThisItem, {IsChosen: false})

For testing purpose i have added the field IsChosed to the gallery. 

 

When a checkbox is ticked it is changing this to true as yo can see on record 1321 and 1320

When i refresh the data it is then setting them all back to false, All as it should, Export working well, its sent to CSV then emailed on to a department mailbox everything is good.....

 

But the strange thing that i can not seem to workout is why the CheckBox is not remaining ticked, as you can see beow the ischosed firled is updating once the box is checked but then straight away it unticks. 

 

If i click one or two items in the list then go back a re-check them then they stay ticked, seems to need a double click to accept but if i do that on one record and more to the next the first record then becomes unticked again. 

amyharkus86_1-1614777078315.png

So i changed the default on the checkbox to 

If(ThisItem.IsChosen = "true",true, false)

after reading someone else post on here i tried the above to no success. 

 

On a second point id like to add a tick box or button to select all, This way when the user filters to and from on the above filter and it displays the items only for the selected period they can the select all to export all those within the filter.

 

Many Thanks. 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User II
Super User II

@amyharkus86 

See your other post on the same issue

View solution in original post

2 REPLIES 2
Drrickryp
Super User II
Super User II

@amyharkus86 

See your other post on the same issue

View solution in original post

@Drrickryp Thank you, was having issue logging in to this account at the time. 

 

As per your help i have changed the default to this 

ThisItem.IsChosen

 and it is now working. 

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!

Top Solution Authors
Top Kudoed Authors
Users online (61,565)