@syncfusion/ej2-gantt 20.2.38 → 20.2.39
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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +7 -1
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +7 -1
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +13 -13
- package/src/gantt/actions/rowdragdrop.js +7 -1
|
@@ -29065,6 +29065,7 @@ var RowDD$1 = /** @__PURE__ @class */ (function () {
|
|
|
29065
29065
|
var proxy = this.parent;
|
|
29066
29066
|
var tempDataSource;
|
|
29067
29067
|
var idx;
|
|
29068
|
+
var ganttFields = this.parent.taskFields;
|
|
29068
29069
|
if (this.parent.dataSource instanceof DataManager) {
|
|
29069
29070
|
tempDataSource = getValue('dataOperation.dataArray', this.parent);
|
|
29070
29071
|
}
|
|
@@ -29073,7 +29074,12 @@ var RowDD$1 = /** @__PURE__ @class */ (function () {
|
|
|
29073
29074
|
}
|
|
29074
29075
|
if (tempDataSource.length > 0 && (!isNullOrUndefined(droppedRecord) && !droppedRecord.parentItem)) {
|
|
29075
29076
|
for (var i = 0; i < Object.keys(tempDataSource).length; i++) {
|
|
29076
|
-
if (
|
|
29077
|
+
if (!isNullOrUndefined(droppedRecord.taskData[ganttFields.child]) &&
|
|
29078
|
+
tempDataSource[i][ganttFields.child] === droppedRecord.taskData[ganttFields.child]) {
|
|
29079
|
+
idx = i;
|
|
29080
|
+
}
|
|
29081
|
+
else if (isNullOrUndefined(droppedRecord.taskData[ganttFields.child]) &&
|
|
29082
|
+
droppedRecord.taskData[ganttFields.id] === tempDataSource[i][ganttFields.id]) {
|
|
29077
29083
|
idx = i;
|
|
29078
29084
|
}
|
|
29079
29085
|
}
|