nadbm / react-datasheet

Excel-like data grid (table) component for React
https://nadbm.github.io/react-datasheet/
MIT License
5.39k stars 457 forks source link

EditableCell onEdit does not work #262

Open MartinDawson opened 3 years ago

MartinDawson commented 3 years ago

Using the most basic example:

    <EditableCell
         editableTextProps={{
            onEdit: () => {
              console.log("test");
            },
          }}
        value={3}
     />

onEdit never gets fired on double click on a cell when it should. I'm using the latest table and blueprint packages.


onEdit  (value: string | undefined) => void Callback invoked after the user enters edit mode.

Surely double clicking is entering edit mode for a cell.