cancel
Showing results for 
Search instead for 
Did you mean: 

Add checkbox to a table

Former Member
0 Kudos

Hi ,

I need to enhance the shopping cart item screen to add in a checkbox column to the table.

I created a checkbox attribute under the Context node. This attribute is of type wdy_boolean.

I have added a new column to the table and also add the checkbox underneath that. I have also defined the binding.

the problem that I am having is, when I check the checkbox on the first line, all the subsequent check boxes in other lines are also getting set.

Has anybody come across this situation. Let me know how this can be handeled.

Thanks

Manju

Accepted Solutions (0)

Answers (1)

Answers (1)

_IvanFemia_
Active Contributor
0 Kudos

Hi,

probably you have binded all the checkboxes to the same context element.

You need a context element for each row. Implementation depends on your WDA.

Regards,

Ivan

Former Member
0 Kudos

Hi Ivan,

The last column in the table is the checkbox column

There will be a checkbox for each row.

How could I have a context element for each row when it is a table?

Let me know.

Thanks

Manju

ChrisPaine
Active Contributor
0 Kudos

Hi Manju,

The attribute that you bound your checkbox to - is it the same context node as the one you have set up as the table node?

Most likely you have made a small error in this binding and have accidentally bound to a different node. Please check.

Cheers,

Chris