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

Allow detection of CTRL and SHIFT key presses on itemclicks and itemdoubleclicks of rows in DataGrid

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Events
    • None
    • Language Found: English

    Description

      Currently (in Flex 3.3), the ListEvent broadcast on clicking a DataGrid row does not wrap or extend a MouseEvent, which contains the boolean flags for the SHIFT and CTRL keys, which means that you cannot directly detect if the SHIFT or CTRL keys were pressed when itemclicking or itemdouble-clicking a DataGrid row. An ugly workaround for this is to override the click event handlers on the DataGrid and create a new ListEvent type that wraps ListEvent but provides these two boolean properties, then broadcast this new event (and implement the clone() function) instead of the standard ListEvent.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: