RE: [Flashcoders] CellRenderer, Datagrid component updating

2007-03-01 Thread Charlie Skinner
I've had many problems with the DataGrid and CellRender. One trick that
may be worth trying, but is by no means guaranteed to have any effect,
is the following line:

dataGrid.dataProvider = dataGrid.dataProvider;

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: 28 February 2007 17:47
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] CellRenderer, Datagrid  component updating

I have the followinng setup:

comboBoxA, a dataGrid, and a cellrenderer in the datagrid which renders
comboboxB in each cell.  ComboboxA switches the dataprovider for the
datagrid, thus changing the datagrid.

It's all working fine, except that I cannot seem to get the comboBox
within the datagrid to change it's selected index according to the value
in the new dataProvider in the datagrid.  I have followed the Adobe
script examples for (their ComboBoxCell.as file), but the combobox's
selectedIndex in the cell remains the same even though the dataprovider
changes.

It does however work fine for other cellRenderers in the datagrid, like
some textInputs.  

I would ask the question first before posting a lot of code  - anyone
have any ideas?   

Jason Merrill
Bank of America  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] CellRenderer, Datagrid component updating

2007-03-01 Thread Merrill, Jason
I've had many problems with the DataGrid and CellRender. One 
trick that may be worth trying, but is by no means guaranteed 
to have any effect, is the following line:

dataGrid.dataProvider = dataGrid.dataProvider;

Seriously?  That's odd.  But no, no dice.  Thanks anwyay,

Jason Merrill
Bank of America  
Global Technology  Operations, Learning  Leadership Development 
eTools  Multimedia Team


 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] CellRenderer, Datagrid component updating

2007-02-28 Thread Merrill, Jason
I have the followinng setup:

comboBoxA, a dataGrid, and a cellrenderer in the datagrid which renders
comboboxB in each cell.  ComboboxA switches the dataprovider for the
datagrid, thus changing the datagrid.

It's all working fine, except that I cannot seem to get the comboBox
within the datagrid to change it's selected index according to the value
in the new dataProvider in the datagrid.  I have followed the Adobe
script examples for (their ComboBoxCell.as file), but the combobox's
selectedIndex in the cell remains the same even though the dataprovider
changes.

It does however work fine for other cellRenderers in the datagrid, like
some textInputs.  

I would ask the question first before posting a lot of code  - anyone
have any ideas?   

Jason Merrill
Bank of America  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com