flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: ensureCellIsVisible for real
Date Thu, 25 Jul 2013 16:52:47 GMT
If that "screen" is in a scroller, in theory you just set
verticalScrollPosition of the scroller to the DataGrid's y value to snap
the DG to the top of the viewport.

On 7/25/13 9:47 AM, "mark goldin" <markzolotoy@gmail.com> wrote:

>I am working on text search in DataGrid. When text instances found I am
>scrolling it to the first instance using ensureCellIsVisible. Works fine
>long as the whole DG is visible, But if a part of it is underneath of the
>screen which has a vertical scroll bar the instances of found text are not
>visible. I would need to scroll thee screen to position the DG in he
>visible area. Any idea how to architect this task?

View raw message