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

s:DataGrid Drag and Drop of multiple items doesn't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK Previous
    • Fix Version/s: Apache Flex 4.16.0
    • Component/s: Spark: DataGrid
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Language Found: English

      Description

      Steps to reproduce:
      1. Run program.
      2. Click on a row.
      3. Ctrl-click on another row so that two rows are selected.
      4. Mouse down on this row to drag to the trash can.

      Actual Results:

      The first row selected becomes unselected on the mouse down to start the drag.

      Expected Results:

      Both rows stay selected.

      Workaround (if any):

      There probably is one but it involves a lot of code.

      The Spark ListBase has special case code to handle this situation.

      // If dragEnabled is true, clicks on selected contents should cause
      // a selection change on mouse up instead of mouse down. Otherwise,
      // clicking in a selection to drag will deselect any multiple selection
      // before the drag occurs.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                evolverine Mihai Chira
                Reporter:
                adobejira Adobe JIRA
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: