How to uncheck all toggle button which is created from mutliple excel sheets?


#1

We have filter screen where user can check all toggle buttons or uncheck individually but How to uncheck all toggle buttons which is created from mutliple excel sheets in one button ?

how do i achieve this ?


#2

Hi @rakesh.chaturya.br,

Is your toggle button bound to a column of your Excel file? If so, you can check this article to put back all your cell values to “false”.

If they are not, you can reload the scene to come back to the original state for these buttons.

Seb


#3

@rakesh.chaturya.br

I had an XP with about a hundred toggle buttons and had to do the same thing. I ended up binding the TRUE/FALSE to a counter Interface asset.

Bind the True/False of the Toggle button to the counter, and use the math converter Is Equal To 2. This means that when the counter = 2, all toggles become true. Then keep your counter’s initial value as 1, so they are all false/unchecked to begin with.

When the XP is run, users can actually manipulate the toggles normally. When I needed to reset them, I set an action to change counter from 1 to 2…then back to 1 again. Essentially checking all of them, then unchecking all of them so they are back to the original state. Worked perfectly.


#4

Thank you so much it work:slight_smile:


#5

i followed the same steps as you took idea from previous answer