I’ve forwarded this on. Bug #5 may
not really be a bug though, the column headers are counted as a row in the data
grid.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn
Sent: Wednesday, April 05, 2006
1:09 AM
To: flexcoders@yahoogroups.com
Subject: AW: [flexcoders] DataGrid
bugs
Hi,
I found another bug:
- Bug 5
If you have a scrollbar with the verticalScrollposition > 0 and click
on a column header. You get an ListEvent.ITEM_CLICK where rowIndex != 0.
In my opinion the rowIndex of the header should always be 0.
Harry
Von: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Im Auftrag von Sreejith Unnikrishnan
Gesendet: Mittwoch, 5. April 2006
09:18
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] DataGrid
bugs
I have noticed a few bugs with the datagrid.
- Bug 1
If the headerHeight is set to '0', the headerText overlaps the first row
content. [I assume this was already on the Flex BugBase]
- Bug 2
If you have a scrollbar on the datagrid, try scrolling down and then resize
the datagrid (typically in a VdividedBox situtation), empty rows appear in
the datagrid
Note that this does not happen though if you have not scrolled down.
- Bug 3
Continuing with the above scenario, the mouse-overs become inconsistent.
- Bug 4
Even if you do not have a scrollBar, if you scale the datagrid
horizontally, the mouse-overs become inconsistent, typically the first few
rows do not respond to mouseovers visually.
You may use the code below to reproduce the bugs.
====================================================================
<?xml version="1.0"
encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="*" layout="vertical">
<mx:HDividedBox width="100%" height="100%">
<mx:VDividedBox width="50%" height="100%">
<mx:HBox width="100%" height="50%" />
<mx:HBox width="100%" height="50%">
<mx:DataGrid id="myGrid" width="100%"
height="100%" headerHeight="0">
<mx:dataProvider>
<mx:Array id="arr">
<mx:Object Artist=" Kapil" Album="All Time Favourites"
Price="10"/>
<mx:Object Artist=" Kapil" Album="Classic Songs"
Price="10"/>
<mx:Object Artist=" Kapil" Album="All Time Favourites"
Price="10"/>
<mx:Object Artist=" Kapil" Album="Classic Songs"
Price="10"/>
<mx:Object Artist=" Kapil" Album="All Time Favourites"
Price="10"/>
<mx:Object Artist=" Kapil" Album="Classic Songs"
Price="10"/>
<mx:Object Artist=" Kapil" Album="All Time Favourites"
Price="10"/>
<mx:Object Artist=" Kapil" Album="Classic Songs"
Price="10"/>
<mx:Object Artist=" Kapil" Album="All Time Favourites"
Price="10"/>
<mx:Object Artist=" Kapil" Album="Classic Songs"
Price="10"/>
<mx:Object Artist=" Kapil" Album="All Time Favourites"
Price="10"/>
<mx:Object Artist=" Kapil" Album="Classic Songs"
Price="10"/>
</mx:Array>
</mx:dataProvider>
</mx:DataGrid>
</mx:HBox>
</mx:VDividedBox>
<mx:HBox width="50%" height="100%" />
</mx:HDividedBox>
</mx:Application>
====================================================================
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
|