Is there something other than a datagrid which can use a combo box as an item editor?
The reason I ask is because I am currently trying to use a datagrid to display a single column which represents the entire object for the list. so when I select from the dropdownlist the selected object is automatically updated to the list itself. However, this is not working because the Datagridcolumn is looking for a reference to the dataField you specify and it does not let you specify "this" to refer to the object itself because it seems to be looking for a variable property inside class B rather than being able to reference B itself. I really do not care which component I use. I do want a title to the column and the item editor to be a dropdown type list. Any help would be appreciated.
For example
The dataprovidor is a list of Class B inside Class A
Class A
{
List<Class B>
}
Class B
{
int id
String name
}
The dropdownlist is a list of all Class B's
valueObject:A a
valueObject:B b
DataGrid
dataProvider="{a.bs}"
editable="true"
Column
DataColumn dataField
dataField="b" -- this fails if I put name it only passes name and not the object b
labelFunction="b.name"
editable="true"
editorDataField="value"
itemEditor
Script
function get value:B
return b
Declaration
valueObject:B id b
DropDownList
prompt="b.name"
dataProvider="bList"
labelField="name"
a dirty work around is to remove the dataField out of datagridcolumn and in the Drop down list close handler, change the outerDocument list itself
outerDocument.a.bs[outerDocument.dg.selectedIndex] = b