I found that this is fixed in Apache Flex SDK 4.13.0 Thanks
On Wed, Aug 6, 2014 at 1:06 PM, Jack Ring <[email protected]> wrote: > Does anyone know how I can fix / avoid this... > > I'm working with Apache Flex 4.11.0 and targeting AIR 4.0 > > My Spark Datagrid row and column lines disappear along with the vertical > scrollbar. > > Try this... > Load a large enough dataset so that a vertical scrollbar appears > Move the vertical scrollbar down slightly > Clear the dataset and see the row and column lines disappear along with > the vertical scrollbar. > > Thanks in advance, > > Jack Ring > > > Run the following code to see the behavior... > > <?xml version="1.0" encoding="utf-8"?> > > <s:WindowedApplication > > xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:s="library://ns.adobe.com/flex/spark" > > xmlns:mx="library://ns.adobe.com/flex/mx" > > > > > > <s:layout> > > <s:VerticalLayout gap="20" /> > > </s:layout> > > > <fx:Script> > > <![CDATA[ > > import mx.events.FlexEvent; > > protected function testDg_creationCompleteHandler(event:FlexEvent):void > > { > > testDg.scroller.verticalScrollBar.value = > testDg.scroller.verticalScrollBar.maximum; > > } > > protected function button1_clickHandler(event:MouseEvent):void > > { > > testDg.dataProvider.removeAll(); > > } > > ]]> > > </fx:Script> > > > <s:DataGrid > > id="testDg" > > requestedRowCount="4" > > creationComplete="testDg_creationCompleteHandler(event)" > > > > > <s:dataProvider> > > <s:ArrayList> > > <fx:Object colOne="kjhadf" colTwo="ewr" colThree="sdf" colFour="xcb" /> > > <fx:Object colOne="fds" colTwo="sfg" colThree="xvc" colFour="vxb" /> > > <fx:Object colOne="fgggd" colTwo="dfgb" colThree="xbv" colFour="cvb" /> > > <fx:Object colOne="fgh" colTwo="fgh" colThree="yui" colFour="ytu" /> > > <fx:Object colOne="xbvb" colTwo="vbn" colThree="bmn" colFour="nnm" /> > > </s:ArrayList> > > </s:dataProvider> > > <s:columns> > > <s:ArrayList> > > <s:GridColumn headerText="1" dataField="colOne" /> > > <s:GridColumn headerText="2" dataField="colTwo" /> > > <s:GridColumn headerText="3" dataField="colThree" /> > > <s:GridColumn headerText="4" dataField="colFour" /> > > </s:ArrayList> > > </s:columns> > > </s:DataGrid> > > <s:Button label="#1 Clear Data" click="button1_clickHandler(event)" /> > > </s:WindowedApplication> >
