File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -326,19 +326,20 @@ class TableBody extends Component {
326326 }
327327
328328 handleEditCell = ( rowIndex , columnIndex , action , e ) => {
329+ const { selectRow } = this . props ;
329330 const defineSelectRow = this . _isSelectRowDefined ( ) ;
330331 const expandColumnVisible = this . _isExpandColumnVisible ( ) ;
331332 if ( defineSelectRow ) {
332333 columnIndex -- ;
333- if ( this . props . selectRow . hideSelectColumn ) columnIndex ++ ;
334+ if ( selectRow . hideSelectColumn ) columnIndex ++ ;
334335 }
335336 if ( expandColumnVisible ) {
336337 columnIndex -- ;
337338 }
338339 rowIndex -- ;
339340
340341 if ( action === 'tab' ) {
341- if ( defineSelectRow ) columnIndex ++ ;
342+ if ( defineSelectRow && ! selectRow . hideSelectColumn ) columnIndex ++ ;
342343 if ( expandColumnVisible ) columnIndex ++ ;
343344 this . handleCompleteEditCell ( e . target . value , rowIndex , columnIndex - 1 ) ;
344345 if ( columnIndex >= this . props . columns . length ) {
You can’t perform that action at this time.
0 commit comments