on 05-14-2012 4:16 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.