Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
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.