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 20:08:17 GMT
Apparently nobody has this answer memorized so you'll have to look it up
in the documentation.

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

>Which control maxVerticalScrollPosition property is of? A scroller?
>
>
>On Thu, Jul 25, 2013 at 12:27 PM, Alex Harui <aharui@adobe.com> wrote:
>
>> maxVerticalScrollPosition
>>
>> 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
>> >>fine
>> >> >as
>> >> >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?
>> >> >
>> >> >Thanks
>> >>
>> >>
>>
>>


Mime
View raw message