[Flashcoders] DataGrid Scrollbar

2006-06-17 Thread ScriptJunkies
Hey, I'm currently working on a flash app that uses a datagrid, I've come across a problem with customizing this component, Does anyone know if it's possible to change the scrollbar position?, i want there to be a gap between the datagrid and it's scrollbar, I've tried playing with the styles

Re: [Flashcoders] DataGrid Scrollbar

2006-06-17 Thread Chris Hill
I'm confused as to how the drawHeaderBG function relates to moving a scrollbar. Regardless, this should move you in the right direction: for (var i=0;i<20;i++){ foo.push({test:"blah"}); } dg.dataProvider = foo; onEnterFrame = function(){ dg.vSB._x = dg.width + 10; dg.mas

Re: [Flashcoders] DataGrid Scrollbar

2006-06-17 Thread ScriptJunkies
The drawHeaderBG function doesn't really relate to moving the scrollbar, i was just thinking, that function seems to be overwriting one in the datagrid, i thought it was possible that you could do a similar thing for the scrollbar position, it was just a possibility that ran through my head.

[Flashcoders] Datagrid + scrollbar speed

2007-04-23 Thread Austin Kottke
Anyone have any ideas why the scrollbar speed in a datagrid with about 40 columns and 30 rows would produce MAJOR lag when trying to scroll the datagrid? When you press the up and down arrows it seems to be fine, but when dragging there is major lag. This is in flex, - I thought maybe some peop