File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1552,6 +1552,11 @@ export default {
15521552 }
15531553 } ,
15541554
1555+ // is edit column
1556+ isEditColumn ( colKey ) {
1557+ return this . colgroups . some ( ( x ) => x . key === colKey && x . edit ) ;
1558+ } ,
1559+
15551560 /*
15561561 * @editCellByClick
15571562 * @desc recieve td click event
@@ -1564,6 +1569,7 @@ export default {
15641569 hasEditColumn,
15651570 editingCell,
15661571 cellSelectionKeyData,
1572+ isEditColumn,
15671573 } = this ;
15681574
15691575 if ( ! editOption ) {
@@ -1593,7 +1599,7 @@ export default {
15931599 this [ INSTANCE_METHODS . STOP_EDITING_CELL ] ( ) ;
15941600 }
15951601
1596- if ( isDblclick ) {
1602+ if ( isDblclick && isEditColumn ( colKey ) ) {
15971603 this . enableStopEditing = false ;
15981604
15991605 this [ INSTANCE_METHODS . START_EDITING_CELL ] ( {
You can’t perform that action at this time.
0 commit comments