[osflash] mx.controls.DataGrid Display problem

Andrew Eatherington mreathers at gmail.com
Sun Apr 23 06:50:31 EDT 2006


Hi,
I'm not getting anything when I click on the expand button even when  
I scroll to the bottom. The component just turns white - although I  
am sure that it just not rendering. FP8 MacOSX.

I can understand that the problem you have is correct and not really  
a bug but a feature of the component. You might try:

myDGrid.vPosition = 0;

Property; sets the topmost visible item of the list. If you set this  
property to an index number that doesn't exist, the list scrolls to  
the nearest index. The default value is 0.

Hope this helps,
Andy

On 23 Apr 2006, at 03:25, l u c h y x wrote:

> I´m developing a tiny r.i.a with Mtasc, FLASC.
> I´m experimenting this strange behaviour with mx.controls.DataGrid  
> component.
>
> This is the live example:
>   http://www.riaevolution.com/applications/repsol/assets/ 
> expandingpod.swf
>
> To reproduce the bug-problem:
>  In "collapsed" state scroll the grid to the bottom, then click the  
> "expand" button.
>  (.. wait for animation.., the grid is not animated, only  resized  
> with setSize(400,300) )
>  You will see only two items in the grid, and you need scroll it to  
> view all items.
>  If you scroll the grid to the top the expanded  or collapsed  
> animation don´t has problems
>
> Does anybody has a solution for it?
> Thanks in advance
>
> -- 
> l   u   c   h   y   x
> r i a e v o l u t i o n ®
> luchyx at riaevolution.com
> http://www.riaevolution.com
> Phone: +54 (11) 4931-7006
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060423/3e1a0cae/attachment.htm


More information about the osflash mailing list