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
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.
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
Post a Comment