I tried your code on my machine using Flash Player WIN 10,0,45,2 Debug. 
Compiled using Flex SDK 3.5.

I do not see the problem you describe.

Perhaps you are using an older version of the SDK?

--- In flexcoders@yahoogroups.com, vijay chaudhary <vijayk.chaudh...@...> wrote:
>
> Following code when run with flash 9.0.24 shows ADG grid lines properly.
> Scroll to the very end horizontally.
> Same code run with 10.0.0 and up makes the grid lines disappear towards the
> end. Scroll to the very end horizontally.
> 
> Is this a bug with newer flash version(s). If so how could this be fixed.
> 
> ********************************************************************************
> ********************************************************************************
> ********
> 
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application width="100%" height="100%"
> xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
> creationComplete="init()">
> <mx:Canvas width="100%" height="100%">
> <mx:Script>
> <![CDATA[
> import mx.controls.advancedDataGridClasses.AdvancedDataGridColumnGroup;
> import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
> private function init() : void {
> var colsReportGrid:Array = reportGrid.groupedColumns;
> var arr1:Array = ["Test1", "Test2", "Test3"];
> var arr2:Array = ["Sample1", "Sample2", "Sample3"];
> for each (var test:String in arr1) {
> var colTest:AdvancedDataGridColumnGroup = new
> AdvancedDataGridColumnGroup(test);
> for each(var sample:String in arr2) {
> var colSample:AdvancedDataGridColumnGroup = new
> AdvancedDataGridColumnGroup(sample);
> colSample.children = getDataColumns();
> colTest.children.push(colSample);
> }
> colsReportGrid.push(colTest);
> }
> reportGrid.groupedColumns = colsReportGrid;
> 
> }
> private function getDataColumns() : Array {
> 
> var colMed:AdvancedDataGridColumn = new AdvancedDataGridColumn("Medium");
> 
> var colClientMed:AdvancedDataGridColumn = new AdvancedDataGridColumn("Client
> Medium");
> 
> var colHigh:AdvancedDataGridColumn = new AdvancedDataGridColumn("High");
> 
> var colClientHigh:AdvancedDataGridColumn = new
> AdvancedDataGridColumn("Client High");
> 
> var colLow:AdvancedDataGridColumn = new AdvancedDataGridColumn("Low");
> 
> var colClientLow:AdvancedDataGridColumn = new AdvancedDataGridColumn("Client
> Low");
> 
> return [colMed, colHigh, colLow, colClientMed, colClientHigh,
> colClientLow];
> }
> 
> ]]>
> </mx:Script>
> <mx:AdvancedDataGrid id="reportGrid" width="100%" height="100%"
> verticalScrollPolicy="auto" horizontalScrollPolicy="auto">
> <mx:groupedColumns>
> <mx:AdvancedDataGridColumn headerText="Column 1" />
> <mx:AdvancedDataGridColumn headerText="Column 2" />
> <mx:AdvancedDataGridColumn headerText="Column 3"/>
> </mx:groupedColumns>
> </mx:AdvancedDataGrid>
> </mx:Canvas>
> </mx:Application>
> ********************************************************************************
> ********************************************************************************
> ************
>


Reply via email to