MCPcopy
hub / github.com/nadbm/react-datasheet / onDoubleClick

Function onDoubleClick

src/DataSheet.js:396–401  ·  view source on GitHub ↗
(i, j)

Source from the content-addressed store, hash-verified

394 }
395
396 onDoubleClick (i, j) {
397 let cell = this.props.data[i][j]
398 if (!cell.readOnly) {
399 this._setState({editing: {i: i, j: j}, forceEdit: true, clear: {}})
400 }
401 }
402
403 onMouseDown (i, j, e) {
404 const isNowEditingSameCell = !isEmpty(this.state.editing) && this.state.editing.i === i && this.state.editing.j === j

Callers 2

DataCell.jsFile · 0.85
handleDoubleClickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected