0 Replies Latest reply on May 10, 2011 12:13 AM by pierre_salmon23

    Spark Datagrid with automation in flex 4.5

    pierre_salmon23

      Hi,

       

      I have a performance problem when i used spark datagrid with activate automation and few item in datagrid.

      Example :

       

      <?xml version="1.0" encoding="utf-8"?>

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

                     xmlns:s="library://ns.adobe.com/flex/spark"

                     viewSourceURL="srcview/index.html">

       

      <s:DataGrid id="dataGrid" requestedRowCount="5" verticalCenter="0" horizontalCenter="0">

      <s:ArrayCollection>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>

      <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>

      <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>

      <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>

      <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>

      <s:DataItem key="1005" name="File" price="150.05" call="true"/>

      <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>

      <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>

      <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>

      <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>

      </s:ArrayCollection>

      </s:DataGrid>

      </s:Application>

       

      When i clicked on scrollbar or selected an item, the flash player block for few minute before i retrieve my system

       

      Any idea ?

       

      Pierre