Showing posts with label tree. Show all posts
Showing posts with label tree. Show all posts

Tuesday, February 7, 2012

Advanced Datagrid groupping tree bug

If you group an AdvancedDatagrid dataprovider with a grouping field, there is a mistake: If you have many rows, and scroll to right to the table, and than group a field, go back to scroll left, but there is an error (or you don't have error, but the tree lost some values). Obviously it is fail.

    <mx:AdvancedDataGrid width="100%" height="240"
            horizontalScrollPolicy="on" verticalScrollPolicy="on" >
        <mx:dataProvider>
            <mx:GroupingCollection2 id="gc" source="{arr_personal_production}" />
        </mx:dataProvider>
      
        <mx:columns>
            <mx:AdvancedDataGridColumn headerText="#" dataField="mppid"/>
            ...
        </mx:columns>
    </mx:AdvancedDataGrid>