thanks for the reply.

I did try both dg.callLater(myCallLater) and dg.validateNow(); neither
one gave the result that we're expecting... 

it's sort of aggravating how people want to stretch the datagrid soooo
far... granted this isn't THAT far, but i have another client that
wants the datagrid to act like excel, and there are some commercial
products out there in beta... but nothing was polished at the time... 

all of the listbased components are really nice but they are the
components i have the most issues with when it comes to customization... 

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Don't have time to look right now, but you may need to call
> validateNow() before setting the selectedItem or use callLater to set it
> later.  Row changes can cause the DG to adjust the selectedIndex and
> that might be causing a conflict for you.
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of jensen.axel
> Sent: Monday, January 21, 2008 2:04 PM
> To: [email protected]
> Subject: [flexcoders] Datagrid ItemEditor ComboBox Question
> 
>  
> 
> I have a client that would like a combobox in a datagrid... simple
> enough.... 
> 
> the scenario is a combobox filled with upc numbers, and when a upc
> gets selected, the whole row of the datagrid gets filled out, and it
> adds an empty row to the bottom of the datagrid...
> 
> It's not working the way i would think... the selectedItem of the
> datagrid just isn't getting set... I've tried dispatching the change
> event after setting it, but I'm not sure whats wrong here...
> 
> can anyone help me?
> 
> here is a link to the page 
> 
> http://axel.cfwebtools.com/devel/ComboDataGrid/bin/ComboDataGrid.html
> <http://axel.cfwebtools.com/devel/ComboDataGrid/bin/ComboDataGrid.html> 
> 
> here is a link to the source:
> 
> http://axel.cfwebtools.com/devel/ComboDataGrid/bin/srcview/index.html
> <http://axel.cfwebtools.com/devel/ComboDataGrid/bin/srcview/index.html> 
> 
> Thanks in advance.
> Axel
>


Reply via email to