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 17:27:44 GMT

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

>Is there a way to position a scroller to its bottom without figuring out
>what a verticalScrollPosition value could have been?
>On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui <aharui@adobe.com> wrote:
>> 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
>> >as
>> >long as the whole DG is visible, But if a part of it is underneath of
>> >screen which has a vertical scroll bar the instances of found text are
>> >visible. I would need to scroll thee screen to position the DG in he
>> >visible area. Any idea how to architect this task?
>> >
>> >Thanks

View raw message