easy3wui 1.5.55-beta7 → 1.5.55-beta8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -541,12 +541,17 @@ var Easy3wEditBigTable = function (_Component) {
|
|
|
541
541
|
editor = column.editor,
|
|
542
542
|
onCheckCellIsEditable = column.onCheckCellIsEditable;
|
|
543
543
|
|
|
544
|
-
|
|
544
|
+
var editableFlag = false; // 单元格是否可编辑 true 允许编辑 false 禁止编辑
|
|
545
|
+
if (editable || editor) {
|
|
545
546
|
// 单元格可编辑
|
|
546
|
-
|
|
547
|
+
editableFlag = true;
|
|
548
|
+
if (onCheckCellIsEditable && typeof onCheckCellIsEditable === 'function') {
|
|
549
|
+
editableFlag = onCheckCellIsEditable(obj); // 自定义单元格是否可编辑
|
|
550
|
+
}
|
|
547
551
|
} else {
|
|
548
|
-
|
|
552
|
+
editableFlag = false;
|
|
549
553
|
}
|
|
554
|
+
return editableFlag;
|
|
550
555
|
};
|
|
551
556
|
|
|
552
557
|
_this.touchRowRenderer = function (obj) {
|