Thanks for your idea Alex. I posted a version with view source enabled that 
works pretty well:

http://jessewk.users.sonic.net/ScrollingRenderer/ScrollingRenderer.swf

It's not perfect, but it gets the job done for now.  I had to hack around quite 
a bit to enable scrolling column groups in unison using a single scroller (in 
my case, all the multi-line results in a column are tied to each other and 
guaranteed to be the same number of rows). It's really annoying that you can't 
easily access the renderer for a specific row and column. I haven't had a 
chance to play with the Spark data grid but I hope it's different!

Thanks again, hopefully somebody else finds my implementation useful.

Jesse

On May 2, 2013, at 11:51 AM, Alex Harui <[email protected]> wrote:

> 
> 
> 
> On 5/2/13 10:44 AM, "Jesse Ward-Karet" <[email protected]> wrote:
> 
>> Alex, where would you attach the scroller to the display list? As a child of
>> the grid, the main app, or other?
> I would first try PopUpManager to float it over the DG.  If you try to add
> it to the DG or its containers it might cause other issues.
> 
>> What would you use as the viewport? Maybe an
>> invisible GroupBase that is positioned over the cell?
>> 
> A UITextField has its own "viewport" in the sense that it clips text for
> you.  All your floating scrollbar has to do is get and set the scrolling
> related properties on the UITextField.
> 
> I don't know how hard it is to use VerticalScrollBar as a floater, but
> fashioning your own scrollbar out of 3 or four buttons isn't a ton of work.
> We've got one checked into the new FlexJS framework in the asjs repo if you
> need to bake your own and need a starting point.
> 
> 
> -- 
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
> 

Reply via email to