question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extended cell mouse events

See original GitHub issue

Is there any way to access the mousedown or mouseup events, similar to the click event with onCellClicked?

The reason I’m asking is that we’re keen to implement a multi row selection by clicking on a marker column cell and dragging the mouse down / up, similar to what Google Sheets or Apple Numbers does.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jassmithcommented, Oct 17, 2022

This is fixed in 5.2.0-beta2

0reactions
mr-wintercommented, Oct 25, 2022

Yes, that works, maintaining the selection when right clicking on one.

One thing that doesn’t quite make sense to me is that when you right click on the marker cell, it selects the first column. Should this select the whole row instead?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extended Mouse Events Class Help - NI - National Instruments
This class contains functions that enable a control to receive the following extended mouse events in addition to the built–in LabWindows/CVI ...
Read more >
Handling Mouse Events - Apple Developer
If dispatch of them is turned on, mouse-moved events may only occur between a mouse-up and the next mouse-down.
Read more >
How do you call "getCellForEvent()" for all GWT Grid mouse ...
I got the getCellForEvent() function working for all the mouse event types (instead of just click events).
Read more >
pointer-events - CSS: Cascading Style Sheets - MDN Web Docs
The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
Read more >
Mouse Events | Grid | JavaScript Wijmo Demos - GrapeCity
To handle mouse events, add a listener to the FlexGrid contrl's hostElement and use the hitTest method to determine which grid panel and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found