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

When scrolling a Spark Datagrid with the mousewheel after starting an itemEditor session, the itemEditor doesn't follow it's cell

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Apache Flex 4.10.0
    • None
    • Spark: DataGrid
    • AIR 3.8, Windows 8.

    Description

      Create a simple editable Spark Datagrid that has enough lines to make the scroller appear. Click a cell to start it's editing session, then scroll the Datagrid using the mousewheel.
      The item Editor doesn't follow it's cell.
      I also happens if focusEnabled = false in the DataGrid, and you scroll it normally (you don't need to use the mousewheel).

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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Slack

                  Issue deployment