@sheetxl/grid-react 0.8.0-beta.10 → 0.8.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -33,8 +33,10 @@ That's it — a virtualized grid that efficiently handles trillions of cells.
33
33
 
34
34
  `renderCells` receives a `CellRendererProps`: `{ cell, range, bounds, value, style, pane }` (plus a
35
35
  `key`). `style` is already positioned/sized for the cell — spread it onto your element. By default a
36
- rendered cell is `pointer-events: none` so clicks fall through to the grid; override per cell to make
37
- it interactive.
36
+ rendered cell is `pointer-events: none` so clicks fall through to the grid. To make part of a cell
37
+ interactive — a checkbox, a button, a slider — spread `CELL_INTERACTIVE_PROPS` onto that element and
38
+ add its handlers as on any element: a plain press on it selects the cell, starts no drag-select, and
39
+ then reaches the element's own `onPointerDown`; a drag captures the pointer on the element itself.
38
40
 
39
41
  ## Why another grid?
40
42