Skip navigation
Currently Being Moderated

Datagrid row split upon scrolling

Dec 10, 2013 6:21 AM

Tags: #flex_4.6



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}"




      <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" />





  • Currently Being Moderated
    Dec 10, 2013 6:54 AM   in reply to dev_ques

    I am not sure that is will help and it's looks a bit naively, but try to use spark components instead of mx. Maybe, your problem will disappear.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points