[flexcoders] Re: Combobox as itemEditor

2010-06-15 Thread valdhor
Add a change event listener to the combo box and dispatch a custom event to the owner to update the data provider. --- In flexcoders@yahoogroups.com, jonbehr jonb...@... wrote: I have a combobox as an itemEditor in a datagrid. I have an event listener on the datagrid

[flexcoders] Re: Combobox as itemEditor

2010-06-15 Thread jonbehr
Thank, this worked perfectly! --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Add a change event listener to the combo box and dispatch a custom event to the owner to update the data provider. --- In flexcoders@yahoogroups.com, jonbehr jonbehr@ wrote: I have a

[flexcoders] Re: Combobox in ItemEditor

2010-06-14 Thread Goutham
I have changed the combobox as a component instead of a drop in item editor and now it works fine. Thank you, Goutham --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You're trynig to set up binding statements to various properties. What if you eliminate all of those binding

[flexcoders] Re: Combobox in ItemEditor

2010-06-11 Thread Goutham
Hi, any suggestions on this post Thank you, Goutham --- In flexcoders@yahoogroups.com, Goutham goldensu...@... wrote: Hi, the field specified by the column in dataprovider for the datagrid is same as the item in the dataprovider of the combobox heres an example dataprovider for

Re: [flexcoders] Re: Combobox in ItemEditor

2010-06-11 Thread Alex Harui
You’re trynig to set up binding statements to various properties. What if you eliminate all of those binding expressions and let the default behavior run? On 6/11/10 1:00 PM, Goutham goldensu...@yahoo.co.in wrote: Hi, any suggestions on this post Thank you, Goutham --- In

Re: [flexcoders] Re: Combobox in ItemEditor

2010-06-09 Thread Alex Harui
If you got that error, you didn’t set it up correctly. What does your code look like? You basically have to delegate to/from the Grid to the inner ComboBox. On 6/3/10 12:40 PM, Goutham goldensu...@yahoo.co.in wrote: Hi Alex, thank you, I tried it using an id for the combobox, gives me

[flexcoders] Re: Combobox in ItemEditor

2010-06-08 Thread Goutham
Hi, the field specified by the column in dataprovider for the datagrid is same as the item in the dataprovider of the combobox heres an example dataprovider for datagird {name: sample project, status_type: progress} dataprovider for combobox {hold,progress, closed} the column field is

[flexcoders] Re: Combobox in ItemEditor

2010-06-07 Thread Goutham
Hi I am accessing the combobox with the id through object.data = event.currentTarget.itemEditorInstance.foo.SelectedItem it works fine, but the problem I have is, when I click on the combobox in the gird, it defaults to the first item in the dataprovider for the combobox combobox id=foo

Re: [flexcoders] Re: Combobox in ItemEditor

2010-06-07 Thread Alex Harui
The default behavior of a ComboBox in a DataGrid is to match the field specified by the column to an item in the dataProvider. If the dataProvider for the DataGrid contains: { firstName: “Alex”, lastName: “Harui”} And the ComboBox dataProvider contains: [ “Smith”, “Harui”, “Jones”] And the

[flexcoders] Re: Combobox in ItemEditor

2010-06-03 Thread Goutham
Hi Alex, thank you, I tried it using an id for the combobox, gives me an error Access of possibly undefined property foo through a reference with static type mx.containers:Grid and there is also another problem, when I click on the column in the datagrid, the itemeditor changes to a combobox