cancel
Showing results for 
Search instead for 
Did you mean: 

Check Box in table

Former Member
0 Kudos

Hi,

I want to add a check-box column in my table. Once I select the checkbox, the row should be selected but it's not the case . Instead , all checkbook in the table are selected.

I want to add an action to the Toggle of this check box and get the Object ID of the selected row ?

How it can be possible.

BR

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1. For adding a checkbox in the column, follow the steps.

- In the context node that you bind with table, add an attribute of type boolean.

- In the view, create a table.

- Right click on the table and select 'Create Binding'

- You will see a popup to bind the context node.

- Enter the context node and all the attributes will appear in a table.

- By default Text View is selected for all attributes.

- Change the attribute to 'Checkbox' from the dropdown and press enter.

- A checkbox will be created in the column.

2. To handle toggle of the checkbox.

- Create an action for the checkbox in the properties of the checkbox.

- A popup will open.

- Check the checkbox 'Transfer event parameters'.

- now in the importing parameters of the actio you created, you will get the context element.

- you can code accordingly.

- At run time, in the action you will get the context element in the action handler of the row on which checkbox was toggled.