Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33665

ItemEditors are placed on the wrong position after scrolling an editable Spark Datagrid

    XMLWordPrintableJSON

Details

    Description

      Create the simplest Datagrid possible and make it editable. If you click on a cell after scrolling the datagrid, the item editor will be placed on a wrong position, out of the Datagrid.

      Here's what's happening: http://www.boonzi.com/public/flex/datagrid/bug.png

      The code is as simple as:

      <s:DataGrid width="300" height="100" dataProvider="

      {dgArray}

      " editable="true">
      <s:columns>
      <s:ArrayList>
      <s:GridColumn dataField="Artist"/>
      <s:GridColumn dataField="Price"/>
      </s:ArrayList>
      </s:columns>
      </s:DataGrid>

      <fx:Script>
      <![CDATA[
      import mx.collections.ArrayCollection;

      [Bindable]
      private var dgArray:ArrayCollection = new ArrayCollection([

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Slanted and Enchanted', Price: 11.99 }

      ,

      { Artist: 'Pavement', Album: 'Brighten the Corners', Price: 11.99 }

      ]);
      ]]>
      </fx:Script>

      Simply scroll down, and then click any cell to edit it. The itemEditor will be placed on the wrong position.

      Attachments

        Issue Links

          Activity

            People

              paeros Mark Kessler
              joao.saleiro@webfuel.pt João Saleiro
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified