Thanks Lee, I created a minimal test app to isolate the datagrid behavior I originally posted.
Can someone confirm the problem I'm seeing by running the application attached below? Am I doing something wrong? ------ please run in SDK 4.6 and 4.10 and compare results ------ <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="600" minHeight="600"> <fx:Declarations> <fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the typesetting industry.</fx:String> </fx:Declarations> <s:VGroup horizontalAlign="center" paddingLeft="30" paddingTop="30"> <s:Label text="1. Left-click (and hold) mouse on a column-separator in header, then drag it left and release it"/> <s:Label text=" outside of header region. Notice the mouse icon does not change back to the normal pointer."/> <s:Label text="2. Left-click (and hold) mouse anywhere in a header to sort, then drap mouse down outside of"/> <s:Label text=" header region and release it. Notice the column-header color indicates mouse-down."/> <s:DataGrid id="dg1"> <s:columns> <s:ArrayList> <s:GridColumn dataField="value" headerText="Column 1" width="200"/> <s:GridColumn dataField="value" headerText="Column 2" width="200"/> </s:ArrayList> </s:columns> <s:ArrayCollection> <s:DataItem value="{sampleText}"/> <s:DataItem value="{sampleText}"/> <s:DataItem value="{sampleText}"/> </s:ArrayCollection> </s:DataGrid> </s:VGroup> </s:Application> ----- Original Message ----- From: "Lee Burrows" <[email protected]> To: [email protected] Sent: Friday, October 11, 2013 2:40:05 AM Subject: Re: SKD 4.10 Spark Datagrid skin change The default skin for DataGrid has changed - if you're using a custom skin you'll need to update it. As it happens i only discovered this yesterday: In 4.9.1 and previous, the skin contained: <s:Grid ...> <s:GridLayer name="backgroundLayer"/> <s:GridLayer name="selectionLayer"/> <s:GridLayer name="editorIndicatorLayer"/> <s:GridLayer name="rendererLayer"/> <s:GridLayer name="overlayLayer"/> </s:Grid> As of 4.10.0 it is: <s:Grid ...> <s:gridView> <fx:Component> <s:GridView> <s:GridLayer name="backgroundLayer"/> <s:GridLayer name="selectionLayer"/> <s:GridLayer name="editorIndicatorLayer"/> <s:GridLayer name="rendererLayer"/> <s:GridLayer name="overlayLayer"/> </s:GridView> </fx:Component> </s:gridView> </s:Grid> On 11/10/2013 07:26, [email protected] wrote: > Hi experts, > > I'm migrating my app from SDK 4.5.1 to 4.10, and I've noticed a change in > spark datagrid behavior. > > In 4.10, if I place the mouse inside a spark datagrid header over the column > separator, then left-click and drag the mouse outside of the header row, then > release the left-click mouse button clearly outside the header region, the > mouse icon remains as the resize-column icon instead of the mouse pointer > icon. > > Can anyone confirm or deny this behavior for SDK 4.10 by repeating this > experiment? > > In 4.5.1 and 4.6 SDKs, the mouse icon changes back as you'd expect. > > If this is not a bug in SDK 4.10, and it only occurs for me, which skin file > controls this behavior? I've updated this skin, > > /Adobe Flash Builder > 4.10/sdks/4.10/frameworks/projects/spark/src/spark/skins/spark/DefaultGridHeaderRenderer.mxml > > > but it didn't change this behavior. > > Is there another skin that I may have changed in 4.5.1 or other file that > controls this behavior that I should update from 4.5.1 to 4.10 SDK? > > Thanks in advance for any hints. > -- Lee Burrows ActionScripter
