1 Reply Latest reply on Dec 10, 2013 6:54 AM by Craberoid

    Datagrid row split upon scrolling

    dev_ques

      row.pngHi,

       

      I am trying to use datagrid with dynamic data using arraycollection and dataprovider.

      When i scroll down,sometimed data of row is getting splitted into two rows.

       

      I noticed this behaviour with other datagrid panel as well.Please help.

       

      I am providing sample code with screen shot for clearity.

       

      <mx:Panel  width="70%" height="100%" textAlign="center" title="List of HDD's" >   

         

             

          <mx:DataGrid id="id" width="100%" height="100%" dataProvider="{driveDataProvider}"

              textAlign="left">

           <mx:columns>

             

            <mx:DataGridColumn dataField="no" headerText="No."  />

            <mx:DataGridColumn  dataField="status" headerText="STATUS" />

            <mx:DataGridColumn dataField="class" headerText="CLASS" />

            <mx:DataGridColumn  dataField="group" headerText="GROUP"  />

            <mx:DataGridColumn  dataField="unit" headerText="UNIT" />

            <mx:DataGridColumn  dataField="slot" headerText="SLOT" />

            <mx:DataGridColumn  dataField="size" headerText="SIZE" />

           

           </mx:columns>

          </mx:DataGrid>

         </mx:Panel>