(row, col, value)
| 447 | } |
| 448 | |
| 449 | onChange (row, col, value) { |
| 450 | const { onChange, onCellsChanged, data } = this.props |
| 451 | if (onCellsChanged) { |
| 452 | onCellsChanged([{cell: data[row][col], row, col, value}]) |
| 453 | } else if (onChange) { |
| 454 | onChange(data[row][col], row, col, value) |
| 455 | } |
| 456 | this.onRevert() |
| 457 | } |
| 458 | |
| 459 | onRevert () { |
| 460 | this._setState({ editing: {} }) |
no outgoing calls
no test coverage detected