Clicking my CheckBox changes every CheckBox?

I added a Checkbox to a screen that contain several rows, clicking on one changes them all.


What have I done incorrectly?


Thank you,

FrankCLT 

This is not associated to anything.  Just want to be able to pick and choose certain rows for additional processing. 

Hello Frank.

Without the oml this will be a guess. You are doing traditional web?


You have the checkboxes inside a table:

That table receives a list as source. Did you use the source as variable to the checkbox instead of using the table?

Because you are only looping the table list (same info, different list) Get[Entity].Current returns always row 0.


If there is no table/list:
Are you using the same variable for every checkbox?

Hi FrankCLT,

Can you describe more want you want achive,

Provide some screenshots or oml.


Regards

Rahul Sahu

Thank you for the speedy reply.  It is Reactive and this is what it looks like ::::


I'm just trying to select the ones i want and leave the ones i don't want alone.


My pseudo code thinking...

Read grid

More grid rows "YES"

  if checkbox(or variable) = true

     do something

read grid row




Read through the grid

It is a mix of both my theories.

That variable is unique. You used the same everywhere so they share the value.

You need a variable in the list that feeds the table.

Take a look at this example I gave recently
https://www.outsystems.com/forums/discussion/60954/selecting-a-button-as-an-option-from-small-survey/#Post236255


Will do......


Nuno Reis wrote:

It is a mix of both my theories.

That variable is unique. You used the same everywhere so they share the value.

You need a variable in the list that feeds the table.

Take a look at this example I gave recently
https://www.outsystems.com/forums/discussion/60954/selecting-a-button-as-an-option-from-small-survey/#Post236255


Nice catch Nuno Reis.

Instead of using a variable, I have other solution is to add 1 more fields to store boolean value for the checkbox in the data source, and map the checkbox with that fields

Hope this help