Drop Down Box with 3 or more columns

#1

I have a drop down box with 3 columns, I need to bind a text field to column number 2, hwo would I go about this?

0 Likes

#2

You should be able to use the lookup() expression to bind into any column of the dropdown’s dataset using the selected value as the lookup key.

0 Likes

#3

hello i know this is and old topic. but i need help.

so i have query that select productid(int), sku(string), recid(int).

product id has duplicates. but i need to get the value of the selected row of the dropdown. column recid. i can’t look for the selected index because it is not in the dataset.

Thanks.

0 Likes

#4

The modern dropdown box exposes a selectedIndex property that can be used directly as the row number instead of lookup().

1 Like