Skip to content

Commit

Permalink
Readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhodel authored and paulhodel committed Mar 28, 2020
1 parent 9fed993 commit 9e047eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/jexcel.js
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ var jexcel = (function(el, options) {
obj.setValue(td, this.checked);
}

if (obj.options.columns[i].readOnly == true) {
if (obj.options.columns[i].readOnly == true || obj.options.editable == false) {
element.setAttribute('disabled', 'disabled');
}

Expand Down

0 comments on commit 9e047eb

Please sign in to comment.