cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a column editable

Former Member
0 Kudos

Hi all,

I want a column to have checkboxes in my table where user can select at runtime.

I added one colum to my table with Checkboxes.But the checkboxes are comming in non Editable mode.

How to make them editable???

My context structure is already binded to my table..now i added one ValueNode with One attribute and i binded that texts property of checkbox to the Valueattribute

The cardinality of my ValueNode is 1..1 and selection is 0..1

Regards

Chandrashekar.

Accepted Solutions (1)

Accepted Solutions (1)

former_member485701
Active Participant
0 Kudos

Hi,

when you added the checkbox as cell editor, then go to it's property:

set "enable" as true.

set "readonly" as false.

and create a boolean attribute "checked" in the table bode and bind it to the check box value property.

And in the onAction of checkbox wirte the code to select or deselect the checkbox.

and set the value as follows:

wdcontext.nodeTable().getcurrentElement().setAttribuiteValue("checked", true);

Regards,

Praveen

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sekhar

Create a <b>Boolean</b> Type attribute and bind that to the <b>Checked</b> property of the check box

Best Regards

Chaitanya.A

Former Member
0 Kudos

Hi,

Add a boolean attribute as part of the node bound to the table.

Regards

Ayyapparaj