[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 wrote: > > You're trynig to set up binding statements to various properties. What if > you eliminate all of those binding express

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" wrote: Hi, any suggestions on this post Thank you, Goutham --- In flexcoders@yahoogroups.com

[flexcoders] Re: Combobox in ItemEditor

2010-06-11 Thread Goutham
Hi, any suggestions on this post Thank you, Goutham --- In flexcoders@yahoogroups.com, "Goutham" 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 datagird

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" wrote: Hi Alex, thank you, I tried it using an id for the combobox, gives me an error "Access of p

[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 i

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 co

[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 the dprovider has th

[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