1 Reply Latest reply on May 26, 2010 10:03 AM by Flex harUI

    Error displaying datagrid columns after view state changed

    pgherveou

      I have a datagrid inside a panel, that I make appear after a view state changed :

              <s:Panel id="revisionBox"                
                      width="100%"  visible.Default="false"  includeInLayout.Default="false" >               
                <s:layout>
                     <s:VerticalLayout paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10"/>
                </s:layout>
                <mx:DataGrid dataProvider="{myList}" height="100%" width="100%">
                          ...
                     </mx:DataGrid>
               </s:Panel>
      
      
      

       

       

      When the view state changed, the panel appear on the screen but the columns of the datagrid are not evenly sized

      Can you tell me what to do to display the datagrid properly

      columns.PNG

       

      Thanks