Hi,

> I looked at FLEX-16857, and IMO, it is not a bug.  The code is not calling
> refresh after setting sort = null and before adding items.  I haven't tried
> it, but I suspect that would avoid the error.
That is broken as well the objects are still sorted rather than reverting to 
their original order.

> On the other hand, the Spark DG is doing something questionable.
Only the Spark one? :-)

>  When theGridItemEditor goes to save the new data, the editor saves any 
> current sort,
> sets sort = null, then saves the new, then restores the sort and does not
> call refresh().
Ouch. Why does it need to do that it should be able to save the new data 
directly.

> 1) verify that refresh() avoids the RTE in FLEX-16857, revert this change
> and maybe update the doc
There no RTE but the list is not left in the correct state. I assume this may 
cause further issues down the track, probably need to fix this as well.

> 2) change the behavior of Spark DG when you edit an item in the sort column.
I'd for this option but no idea how easy/hard it it right this second.

Thanks,
Justin

Reply via email to