Drop Down Box with 3 or more columns

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?

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.

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.

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

1 Like