Which version?  Can you post a small test case?

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of danny_yoo88
Sent: Tuesday, November 27, 2007 6:03 PM
To: [email protected]
Subject: [flexcoders] Help! Datagrid bug?



Hi,

I have a DataGrid with an inline itemRenderer.

Originally the DataGrid was using an Array as a data source.
Everything was fine.

Then I changed my datasource to an object containing sub-objects and I
revised my datagrid accordingly.

I use DateChooser to fire off an event when a date is selected. The
DataGrid listens for the event and event-code adds the date to the
data source.

Everything works BUT...

When I enter dates in newest to older sequence, the DataGrid renders
TWO rows for the older date. i.e:

Row 1: November 26, 2007
Row 1: November 26, 2007
Row 2: November 27, 2007

When I inspect the data source and the DataGrid.dataProvider.source I
only see two entries.

When I hover over November 26, 2007, only the last instance responds
by highlighting the row blue. I can't do anything to the first row.

The only way to make things right is to click on a header-column to
sort the grid or add another date. Then the duplicate magically
disappears.

I can't seem to do anything to the DataGrid (invalidateList, etc) to
force update the grid.

Any ideas?

Thanks,

Danny



 

Reply via email to