Setting combobox in itemEditor


i have itemeditor combobox, when user selects field, combo box appears, how set value of combobox based on value of datafield.

for example, if datafield equals "hurray", want default selection of combobox equal hurray (the selection available in combobox)

thanks

1) create new component based on combo box
2) override it's set data(value:object) function
3) 'value' parameter function has selected data datasourece. think it's current row. off top of head i'm not sure.
4) value column, search in underlying datasource of combobox
5) if found, set selected index of combo box found index.


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