Hi, I'm setting scaleX and scaleY on a spark DataGrid. This results in the behavior, that -depending on the scale factor- the rollover (and click) of rows does not get triggered anymore. The higher the scale the less rows receive the mouseEvent. (You can easily reproduce this by creating a Datagrid with ~100 entries and set its scaleX and scaleY to 2).
I have checked the source code of the spark Grid and found a function "eventToGridLocations" called in the handler "grid_mouseMoveHandler" which seems to not consider the scaling. It somehow looks like the hitarea of the grid gets smaller the higher the scale factor is. However, it does not seem to be an easy way to tweak this by creating a class which extends spark Grid since many of the attributes and helper functions are private. I have tried to deal with the layout property of the grid (updateDisplayList) and pass new values to this function based on the scale factor, and I tried to set the layoutBoundsSize of the grid to new values but this resulted in misbehavior of the grid (noticeable when scrolling). Does anyone know what I can do so the data grid can handle scaleX and scaleY factors greater than 1 properly? Mit freundlichen Gr??en / Best Regards i.A. Jan Weber Software Development Contact: Location: Head & Accounts Office: tel +49 941 8700 326 Bahnhofstr. 16 Cranachweg 1 fax 93047 Regensburg 93051 Regensburg mail [email protected]<mailto:[email protected]> Germany Germany [banner] <http://www.dallmeier.com/index.php?id=1054> Subscribe to our Newsletter<http://www.dallmeier.com/index.php?id=322&L=1> www.dallmeier.com<http://www.dallmeier.com/en/home.html> Social Media<http://www.dallmeier.com/index.php?id=292&L=1> Dallmeier electronic GmbH & Co.KG CEO: Registry Court: VAT ID: Unlimited Partner: Registry Court: Dieter Dallmeier Amtsgericht Regensburg HRA 6827 DE813790649 Dallmeier GmbH Amtsgericht Regensburg HRB 9085
