cancel
Showing results for 
Search instead for 
Did you mean: 

to Get values from table dropdown

Former Member
0 Kudos

hi,

I have a table which has dropdown list.

According to requirements the dropdown in different rows of that column are different.

I was able to get the different list of dropdown in different rows.

The problem is now stuck up with how to extract the values from the dropdown in each row.

Please help.

The method i used for different dropdown list is,

Creating a child node in main DataSource name of the table and added the values of dropdown to the child node.

Regards,

SV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Assuming the following context structure


Context
+ Rows (node, 0:n)
   + Items (node, 0:n, singleton=false)

you get the selected item in row #i by


wdContext.nodeRows().getRowsElementAt(i).nodeItems().currentItemsElement();

Armin

Former Member
0 Kudos

hi,

Problem sovled

Your solution helped.

but few corrections to it

wdContext.nodeSourceNode().getSourceNodeElementAt(i).nodeChildNode().getCurrentElement().getAttributeAsText("Attribute_Name")

Regards,

SV.

Answers (0)