Add item to ComboBox
I have a combo box pulling all values from a Map Service layer attribute for the values list.
I would like to add an extra item: Display: "Entire Area", Value: *
How can I achieve this? Any help would be appreciated!
-
Hi Paul
How are you getting you values currently?
If I assume you are getting a FeatureSet and using that as your source for the comboBox then you just need a couple more steps using Featureset to DataItem List and add another DataItem to your list being your wildcard value and then use the DataItem List as the Items source for your combobox.
Have a go
Regards
Ralph
0 -
Thanks Ralph.
Giving it a go.
Is there something I need to do between FeatureSetToDataItemList and InsertIntoList? InsertIntoList seems to require iList. Or is there another method to achieve this?
Paul
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare