diff --git a/src/components/editable-table.jsx b/src/components/editable-table.jsx index eaa0a2b15..e83c35818 100644 --- a/src/components/editable-table.jsx +++ b/src/components/editable-table.jsx @@ -66,8 +66,8 @@ class EditableCell extends Component { } render() { - const {rowIdx, colIdx, tableData: {rows}, isHeader, inputProps, InputRenderer} = this.props - const cellValue = rows[rowIdx][colIdx] || '' + const {rowIdx, colIdx, tableData, isHeader, inputProps, InputRenderer} = this.props + const cellValue = tableData.rows[rowIdx][colIdx] || '' return ( @@ -76,6 +76,7 @@ class EditableCell extends Component { type="text" rowIdx={rowIdx} colIdx={colIdx} + tableData={tableData} isHeader={isHeader} defaultValue={cellValue} onBlur={::this.onInputBlur} diff --git a/src/pro b/src/pro index c1346c184..c62ed6110 160000 --- a/src/pro +++ b/src/pro @@ -1 +1 @@ -Subproject commit c1346c184b4628109bfd47fbd667f0961a130999 +Subproject commit c62ed6110a8c161c838188019c8d33273a129c50