Well, even that does not help because my question was how to set a scroller to its bottom position. But the scroller does not have maxHorizontalScrollPosition property that would have a value to set its verticalScrollPosition to. My screen is pretty complex. All I want as what a user is doing - scrolling it all a way to the bottom. That's what I want to do in my code.
On Thu, Jul 25, 2013 at 3:20 PM, Jesse Ward-Karet <[email protected]> wrote: > http://lmgtfy.com/?q=maxVerticalScrollPosition+site%3Ahelp.adobe.com > > On Jul 25, 2013, at 1:11 PM, mark goldin <[email protected]> wrote: > > > I did, a scroller does not not have it, but scroller is what seems to be > > the correct target to play with. > > > > > > On Thu, Jul 25, 2013 at 3:08 PM, Alex Harui <[email protected]> wrote: > > > >> 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" <[email protected]> wrote: > >> > >>> Which control maxVerticalScrollPosition property is of? A scroller? > >>> > >>> > >>> On Thu, Jul 25, 2013 at 12:27 PM, Alex Harui <[email protected]> wrote: > >>> > >>>> maxVerticalScrollPosition > >>>> > >>>> On 7/25/13 9:55 AM, "mark goldin" <[email protected]> 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 <[email protected]> > 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" <[email protected]> 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 > >>>>>> > >>>>>> > >>>> > >>>> > >> > >> > >
