Hi,

I think I may have run into a bug in the DataGrid, but it was hard to tell
from the Adobe Issue Navigator because so many of
the items that sounded like my problem were imported such that details
aren't visible. Hoping someone can give me a workaround
or confirmation that this is a known issue (possible fixed in flex 3?)

I'm using 2.0.1 hotfix 3.  I've got two different crashes, but both have the
same sort of symptom - when scrolling to the right as result
of a TAB, if the next editable column uses a checkbox as an item renderer,
the grid will throw an exception. Both grids have locked columns. In both
cases the checkbox column is offscreen initially, but the tab from the
rightmost visible column should scroll the checkbox column into view and
then set focus on a cell in the checkbox column.

In the one case I've tried to debug, it looks like listItems has not been
updated to be in sync with horizontalScrollPosition.  I've got
3 columns of interest in this scenario: column 6 is editable text, column 7
is non-editable text, column 8 is an editable checkbox.
Initially, column 6 has focus and columns 7 & 8 are not visible. When I tab
out of column 6 focus moves to column 8, but
DataGrid.itemEditorInstance is not my Checkbox class - it's an instance of
DataGridItemRenderer corresponding to the non-editable
text in column 7 - as soon as I tab out of column 8, then things go south in
itemEditEnd because itemEditorInstance is not really
the item-editor.

I stepped into createItemEditor - as near as I can tell, the column index is
correct, but horizontalScrollPosition and listItems are
not in sync with each other.

Anybody seen this?

Thanks

Reply via email to