You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked a few popular grids and all select the cell on pointer down but they do not scroll the cell into view which we do. Not sure which behavior is better
🆕 onCellMouseDown event
Callback triggered when a cell is clicked. The default behavior is to select the cell. Call `preventGridDefault` to prevent the default behavior
322
+
Callback triggered when a pointer becomes active in a cell. The default behavior is to select the cell. Call `preventGridDefault` to prevent the default behavior.
323
323
324
324
```tsx
325
-
function onCellClick(args: CellClickArgs<R, SR>, event: CellMouseEvent) {
325
+
function onCellMouseDown(args: CellMouseDownArgs<R, SR>, event: CellMouseEvent) {
Callback triggered when a cell is double-clicked. The default behavior is to open the editor if the cell is editable. Call `preventGridDefault` to prevent the default behavior
374
+
Callback triggered when a cell is double-clicked. The default behavior is to open the editor if the cell is editable. Call `preventGridDefault` to prevent the default behavior.
362
375
363
376
```tsx
364
-
function onCellDoubleClick(args: CellClickArgs<R, SR>, event: CellMouseEvent) {
377
+
function onCellDoubleClick(args: CellMouseArgs<R, SR>, event: CellMouseEvent) {
0 commit comments