If you post some code that reproduces the problem, I'll try to track it down.


On 7/28/06, sufibaba <[EMAIL PROTECTED] > wrote:
Hi Everyone,

I have a combo box inside of a column of a DataGrid.  The combo boxes is
a custom itemRenderer and its being populated from its parent datagrid.

header1                 header2                    header3
----------------------------------------------------------
text                          combobox               text
text                          combobox               text
text                          combobox               text
text                          combobox               text

Each combo boxes has multiple entries and its selected position must be
set every time the databinding changes.

Upon entering the app for the first time, the datagrid is correctly
populated and the combo boxes are set to the correct index.   The
problem occurs when the datagrid's data changes,  all datagrid's values
are correctly reflected but for some strange reason, the boxes aren't
set to right indexes.   Upon closer examination,  new data is are
correctly piped into the datagrid and into the combo box itemrenderer.
It seems to me that whe the data changes, the itemrenderer is redrawn
and the combo boxes are also redrawn-- if this is the case, then the
combo boxes might not have been drawn when the code inside the
itemrenderer tries to set a combobox.selectedIndex  .  If this is the
case, has someone ran into this delayed drawing action and is there a
work around for this problem.

Any help on this is greatly appreciated.

- Tim














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/







--
Jason __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to