0 Replies Latest reply on Nov 19, 2009 9:20 AM by ianmi

    Datagrid scrolls on change or click event - why?

    ianmi

      Hi,

       

      How do I stop my datagrid scrolling one line when I click on the top row?

       

      This happens with change, itemClick, and itemDoubleClick.

       

      It does not scroll on rows other than the top row.

       

      private function columnClick(e.ListEvent):void

      {

      if e.columnIndex==0)

       

      DataGrid id= "dg" change="columnClick(event)"

       

       

      Any help would be much appeciated.

       

      Ian.