Datagrid Combobox itemEditor dynamically created in AS


i'm trying create inline cell editor datagrid dynamically created metadata api call. depending on data type, i'm specifying itemeditors on columns. i've been able fine on other data types need, except comboboxes, have custom attributes specific each column (the picklist values). these values loaded via api call.

my question is, since datatype of datagridcolum.itemeditor classfactory, meaning can't pass in instance of combobox (which makes sence since grid reuses editors) how can dynamically specify, using actionscript code, possible values of combobox are?

any suggestions appreciated. examples found in mxml , statically populated. thanks!

wow, after 2 days of messing this, took hour after posting figure out these 3 lines...


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support