Unfortunately, the old way does compile successfully - i'm assuming gridView is not an IVisualElement so is not a [SkinPart]

I assume it would be straight-forward to throw an error if gridView==null


On 10/10/2013 16:10, Gary Young wrote:
well, if this code is not upgraded, it won't compile right?


On Thu, Oct 10, 2013 at 11:06 AM, Lee Burrows
<subscripti...@leeburrows.com>wrote:

Ok, the problem was a change to Grid component updated in the default
DataGrid skin wasn't reflected in my custom skin.

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>

I think this change should be flagged up a lot more. As far as i can see,
the only mention in the (4.11) release notes is:

Changes to custom skin for s:DataGrid (was changed in 4.10 but missed in
release notes)






On 10/10/2013 15:15, Lee Burrows wrote:

It looks like the root cause of my problem is my custom skin - using the
default skin removes the problem.

Still trying to figure out what is 'special' about my skin - will report
back once i know more...



On 10/10/2013 14:34, Gary Young wrote:

I have the same problem, it won't give any stack trace or any debug stop,
it's a stop shipping bug.

I will try to collect more information today.



-Gary


On Thu, Oct 10, 2013 at 8:01 AM, Justin Mclean <jus...@classsoftware.com
**wrote:
  Hi,
"Any chance" I meant to say .. that's what you get posting late at night
after a glass of wine or two :-)

Justin


--
Lee Burrows
ActionScripter




--
Lee Burrows
ActionScripter

Reply via email to