cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with DropDownByIndex

Former Member
0 Kudos

Hi all,

Iam new to mobileclient for handheld (7.1 CE). I have a dropdown which is bounded to output node of a query.

I need to select one value from this dropdown and send the selected value as input of another object.

My problem is, If I select 2nd or 3rd value , Iam getting the first value only. Iam using the following statement.

wdContext.node<DDNode>().current<DDNode>Element().get<field>();

Can anybody help me about this?

Regards

Narayana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I created an onSelect event. The event passes in the index of the selected item.

So the code goes something like:

Integer selobj = (Integer)wdEvent.getEventData("index");

wdContext.node<X>().setLeadSelection(selobj.intValue());

Hope this helps

Brian Timothy

Former Member
0 Kudos

Hi Brian,

Great.. My problem is solved. Thank you.

Regards

Narayana

Answers (0)