Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Lead selection Issue

Hi all,

I am having dropdown by index as a table column. I am filling the node by supply function.

IPublicTests.ITabNode node = testController.wdGetContext().nodeTab();

int size = srcNode.size();

for (int i = 0; i< size; i++)


IPublicTests.ITabElement srcElement = srcNode.getTabElementAt(i); element = node.createActionElement();

element.setActioncode(srcElement.getid() + " " + srcElement.getDes());



My dropdown is filling correctly.

But i want to display different values to be selected initially based on some condition ,in each rows dropdown.

How to set different lead values for each rows initially..

Plz its urgent...



Former Member
Former Member replied


Try this one.

Lets assume TestNode is your Node and test2 is your context variable, which is binded to the drop down.

Depend on your condition, you can set any value to the particular row and particular cell value.

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

if(i==0) //condition to set value








//test2 - is the dropdown key

//Val1 - which you want to show for that cell.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question