neo
neo copied to clipboard
#5102 onRowClick add altKey, ctrlKey, metaKey, shiftKey tests and fires
What kind of change does this PR introduce? (check at least one)
- [x] Feature Does this PR introduce a breaking change? (check one)
- [x] No If adding a new feature, the PR's description includes:
- [x] per #5102 allows e.g. shift-click to raise a popup dialog to edit row record fields.
The code is now modified to handles both type "click" and type "dblclick"
- handling dblclick is optional, controlled by the config parameter: "dblclickEnable" . The default value of false preserves old behavior.
- all clicks fire "rowclick"
- pure click also does row highligting and fires "select" or "deselect", identical to the old behavior
- distinguishing clicks from a dblclick is via a setTimeout that waits "dblclickDelay" ms to test if dblclick has been detected. The configurable dblclickDelay is 510. A better way would be welcome.