SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

Make mouse-down select a cell to be the active cell

Open bthule opened this issue 13 years ago • 5 comments

Currently mouse-up selects a cell to be the active cell. It would be nice if the mouse-down made the cell the active cell. This would make it work the same as google docs, excel, and libre office.

If that's not feasible, a decent workaround would be to set the active cell when a cell selection drag is completed.

bthule avatar Aug 16 '12 00:08 bthule

The active cell is set on mouse click, not on mouse up. This would break existing code that relies on being able to intercept onclick and override the default behavior, but it's worth investigating. It does improve perceived performance and could help solve the issue of losing click events when the data is frequently changed.

mleibman avatar Aug 25 '12 00:08 mleibman

Also, this would allow autoEdit to be true and still use a selection model, correct?

mplorentz avatar Dec 20 '12 18:12 mplorentz

This would be very nice! Both Microsoft Excel and Apple Numbers select cells on mouse down.

vojto avatar Jun 12 '14 14:06 vojto

I agree with this, anyone got a solution working?

kristofferlanno avatar Oct 21 '14 11:10 kristofferlanno

+1. Active cell should set on mouse down.

vsile avatar Jan 19 '17 08:01 vsile