Hey there, I'm currently working on a kiosk-type application that displays data in a datagrid component. I also have a timer that automatically refreshes the data from the database every 60 seconds.
The problem is whenever the data is refreshed, the datagrid automatically sends the vertical scrollbar back to the top. This is problematic if the user is reading the data and it automatically jumps back to the top of the list. I need to keep the datagrid's scroll position anchored down during a data refresh. I attempted to compensate using the verticalScrollPosition of the datagrid, like this: var scrollPos:int = resultsGrid.verticalScrollPosition; myData = event.result.fids.flight; resultsGrid.verticalScrollPosition = scrollPos; While this does keep the scroll bar positioned, it has an odd result: the data lines once again show the first record in the top of the box, even if the scrollbar was at the bottom. If you scroll up, blank data is shown. Anybody know how to update data in a datagrid *and* keep its scroll position in the list of records? Thanks! -cj

