I am trying to synchronize a datagrid selected index with
the ArrayCollection cursor (IViewCursor). but for this the
ArrayCollection must have sort, and even when i add a simple sort,
when trying to use getItemIndex and other similar functions it
throws an exception because the localIndex is empty.
Any idea why the localIndex is null even after i did add a
sort? any idea of another way to do this syncronization?