Skip to content

Commit 4fd1947

Browse files
committed
Don't change cell text if editable has been disabled
1 parent 54f4be4 commit 4fd1947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/row.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Rows {
106106

107107
setCellText(ri, ci, text) {
108108
const cell = this.getCellOrNew(ri, ci);
109-
cell.text = text;
109+
if (cell.editable !== false) cell.text = text;
110110
}
111111

112112
// what: all | format | text

0 commit comments

Comments
 (0)