devexpress-gantt 4.0.11 → 4.0.12

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/dist/dx-gantt.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt)
3
- * Version: 4.0.11
4
- * Build date: Tue Feb 22 2022
3
+ * Version: 4.0.12
4
+ * Build date: Fri Feb 25 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
package/dist/dx-gantt.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt)
3
- * Version: 4.0.11
4
- * Build date: Tue Feb 22 2022
3
+ * Version: 4.0.12
4
+ * Build date: Fri Feb 25 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
@@ -5928,9 +5928,9 @@ var GanttView = (function () {
5928
5928
  var _a, _b;
5929
5929
  return (_b = (_a = this.ganttOwner).getTreeListHeaderInfo) === null || _b === void 0 ? void 0 : _b.call(_a, colIndex);
5930
5930
  };
5931
- GanttView.prototype.getTreeListCellInfo = function (rowIndex, colIndex) {
5931
+ GanttView.prototype.getTreeListCellInfo = function (rowIndex, colIndex, key) {
5932
5932
  var _a, _b;
5933
- return (_b = (_a = this.ganttOwner).getTreeListCellInfo) === null || _b === void 0 ? void 0 : _b.call(_a, rowIndex, colIndex);
5933
+ return (_b = (_a = this.ganttOwner).getTreeListCellInfo) === null || _b === void 0 ? void 0 : _b.call(_a, rowIndex, colIndex, key);
5934
5934
  };
5935
5935
  GanttView.prototype.exportToPdf = function (options) {
5936
5936
  var _a;
@@ -11710,13 +11710,16 @@ var GanttExportCalculator = (function () {
11710
11710
  this._treeListHeaderMatrix.push(row);
11711
11711
  };
11712
11712
  GanttExportCalculator.prototype.calculateTreeListTableBodyMatrix = function () {
11713
+ var _a;
11713
11714
  this._treeListBodyMatrix = new Array();
11714
11715
  var visibleTaskIndices = this.visibleTaskIndices;
11715
11716
  var colCount = this.treeListHeaderMatrix[0].length;
11716
11717
  for (var i = 0; i < visibleTaskIndices.length; i++) {
11717
11718
  var row = new Array();
11719
+ var visibleIndex = visibleTaskIndices[i];
11720
+ var taskKey = (_a = this._owner.getTask(visibleIndex)) === null || _a === void 0 ? void 0 : _a.id;
11718
11721
  for (var j = 0; j < colCount; j++) {
11719
- var cell = new CellDef_1.CellDef(this._owner.getTreeListCellInfo(visibleTaskIndices[i], j));
11722
+ var cell = new CellDef_1.CellDef(this._owner.getTreeListCellInfo(visibleIndex, j, taskKey));
11720
11723
  if (!cell.styles.cellWidth.hasValue())
11721
11724
  cell.styles.cellWidth.assign(this.getTreeListColumnWidth(j));
11722
11725
  if (this.rowHasChildren(visibleTaskIndices[i]))
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 4.0.11
4
- * Build date: Tue Feb 22 2022
3
+ * Version: 4.0.12
4
+ * Build date: Fri Feb 25 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs