cancel
Showing results for 
Search instead for 
Did you mean: 

Table columns are enabled for editing

Former Member
0 Kudos

Hi,

I have created a table in which the columns are input fields. I have to read the input field values which user enters from the screen. When running the application the table columns cant be edited, eventhough i have made the readonly property of input field to " false".  Can anyone sugeest why it behaves like that?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shiny,

Even we set the readonly false also, we need to create and elements for the binded node. In WdDoinit() of view or Component controller write the below code. it will work.

If you want to make 5 rows editable, then:

 

for(int i=0;i<5;i++){

//Creating the element for Vn_Node and adding the element to the node.

IVn_NodeElement eleNode = wdContext.nodeVn_Node().createAndAddVn_NodeElement();

//If you want to set any data then use below steps. It will be set Name as editable in your table

eleNode.setVa_Name("Name");

}

Let me know if you face any issues.

Regards,

Ramesh G.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Ramesh for your help.

Former Member
0 Kudos

Hello Shiny,

    Please check the Cardinality Property of the Table?

Regards,

Manivannan P