[Event callback]Is there a 'afterOnCellMouseUp' callback?

Hi There
In our user case, we have to differentiate the “click” (of a single cell) and “selection” action.
So our thoughts were to do a check:

  • we record the row/col index of the cell when the mouse is down (afterOnCellMouseDown)
  • and at the moment the mouse is up from a cell, we get the row/ col index again, and compare it with the previous ones,
  • if they are not equal, then it is not a click action.

However, it seems there isn’t call back to hook the ‘mouse up’ event, is it?

Or is there any other way to work this out?

BTW, I see there is an afterSelectionEnd, but it seems it is not exposing an event instance, so we can not use the event capability like preventDefault and stopImmediatePropagation

Hi @semix

sorry for keeping you waiting.

For the mourse events we have

afterOnCellCornerMouseDown
afterOnCellMouseDown
afterOnCellMouseOut
afterOnCellMouseOver
beforeOnCellMouseDown
beforeOnCellMouseOut
beforeOnCellMouseOver

Can you share a demo with your recent progress? I’ll check if there’s anything that we can add to make it work.

I believe that we can close the topic as there is no demo or reply for a long time now.