7 Replies Latest reply on May 22, 2009 7:44 AM by Clay Borne

    Please try this!

    Clay Borne

      Could some of you please just paste the below code into a new flex component and see if you get the same behaviour.  I am setting the horizontalScrollPolicy to "on" in the datagrid, and when I paste the code in, it does not set the property.  However, if after I paste it I change the property to auto, it works!  Then if I change it back to "on", if functions properly.  It only happens when it is initially pasted.  It this a bug, just happening on my system, or is there some kind of reason for this?



      <?xml version="1.0" encoding="utf-8"?>



      xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="512" height="366" title="TEST">






      <mx:DataGrid x="61" y="63" height="119" width="144" horizontalScrollPolicy="on">












      <mx:DataGridColumn headerText="Text" dataField="col1" width="83"/>






      <mx:DataGridColumn headerText="Text" dataField="col2" width="83"/>






      <mx:DataGridColumn headerText="Text" dataField="col3" width="83"/>






      <mx:DataGridColumn headerText="Text" dataField="col4" width="83"/>