File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ class TableBody extends Component {
61
61
blurToSave = { this . props . cellEdit . blurToSave }
62
62
rowIndex = { r }
63
63
colIndex = { i }
64
+ row = { data }
64
65
fieldValue = { fieldValue } />
65
66
) ;
66
67
} else {
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ class TableEditColumn extends Component {
100
100
let cellEditor ;
101
101
if ( customEditor ) {
102
102
const customEditorProps = {
103
+ row : this . props . row ,
103
104
...attr ,
104
105
defaultValue : fieldValue || '' ,
105
106
...customEditor . customEditorParameters
@@ -132,6 +133,7 @@ TableEditColumn.propTypes = {
132
133
blurToSave : PropTypes . bool ,
133
134
editable : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . object ] ) ,
134
135
format : PropTypes . oneOfType ( [ PropTypes . bool , PropTypes . func ] ) ,
136
+ row : PropTypes . any ,
135
137
fieldValue : PropTypes . oneOfType ( [
136
138
PropTypes . string ,
137
139
PropTypes . bool ,
You can’t perform that action at this time.
0 commit comments