6 Replies Latest reply on Aug 9, 2011 5:22 AM by alex-malyga

    Scrollbar on left side of Datagrid

    goat_boy Level 1

      I was able to move the scrollbar to the left side in a datagrid using the following:

              protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void
                  super.updateDisplayList( unscaledWidth, unscaledHeight );


                  if( verticalScrollBar && verticalScrollBar.visible ){
                      verticalScrollBar.x = 0;


      This only moved the scrollbar and not the header for the scrollbar. It also does not move the columns over.

      Is there a way to do this? There doesn't seem to be any examples for moving a scrollbar to the left side of

      a datagrid except for the code that i've listed above.