I have a combobox that I want to populate with a field that is being returned in a featureSet from a query. I am querying a table and getting the results but I am having trouble figuring out what I am missing to populate the combobox. Here is the code I am using. Can anyone see what I am doing wrong?for each (var graphic:Graphic in featureSet.features)
{
var category:String = graphic.attributes.category;
var subcat:String = graphic.attributes.subCategory;
var data:Object = {
category: category,
subcat: subcat
}
cboCategory.dataProvider = data.subcat;
}