cancel
Showing results for 
Search instead for 
Did you mean: 

How to add Checkbox in Table

Former Member
0 Kudos

Hi,

I want to add CheckBox in Table. my requirement is multiselection. I Implemented the following steps, but it's not working. anyone can tell me,what mistake i did?

I created two "Value Attribute"(check,Name) under a "Value Node"(Student) in context.

check - Boolean

Name - mapped a Dictionary simple Type(5 values)

Include a Table in Layout and select Create Binding on right clicking of Table.

Checked only Student and check -> Next

Selected the Editor as checkbox -> Finish

Selected Name from context and assigned to checkbox text property.

Then I deployed the application. But only one checkbox is displayed in Table without any text.

Please give me the suggestion, how to do this.

Thanks in Advance

Rajakumar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You don't need (and should not) add checkboxes for multiselection in a table.

They are available automatically if you set the selection cardinality of the data source node to 0:N (or 1:N).

Armin

Former Member
0 Kudos

Hello,

I think you have a fundamental misunderstanding on how Checkboxes work. A Checkbox triggers a boolean value with true (checked) or false (uncheked).

When you map your name attribut to text you will see the content of that attribute as text behind. But not the metadata.

You may want to use a RadiobuttonGroup or CheckboxGroup for your purpose.

Frank