devexpress-gantt 4.1.14 → 4.1.15

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.1.14
4
- * Build date: Tue Feb 22 2022
3
+ * Version: 4.1.15
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.1.14
4
- * Build date: Tue Feb 22 2022
3
+ * Version: 4.1.15
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
@@ -5846,9 +5846,9 @@ var GanttView = (function () {
5846
5846
  var _a, _b;
5847
5847
  return (_b = (_a = this.ganttOwner).getTreeListHeaderInfo) === null || _b === void 0 ? void 0 : _b.call(_a, colIndex);
5848
5848
  };
5849
- GanttView.prototype.getTreeListCellInfo = function (rowIndex, colIndex) {
5849
+ GanttView.prototype.getTreeListCellInfo = function (rowIndex, colIndex, key) {
5850
5850
  var _a, _b;
5851
- return (_b = (_a = this.ganttOwner).getTreeListCellInfo) === null || _b === void 0 ? void 0 : _b.call(_a, rowIndex, colIndex);
5851
+ return (_b = (_a = this.ganttOwner).getTreeListCellInfo) === null || _b === void 0 ? void 0 : _b.call(_a, rowIndex, colIndex, key);
5852
5852
  };
5853
5853
  GanttView.prototype.exportToPdf = function (options) {
5854
5854
  var _a;
@@ -11651,13 +11651,16 @@ var GanttExportCalculator = (function () {
11651
11651
  this._treeListHeaderMatrix.push(row);
11652
11652
  };
11653
11653
  GanttExportCalculator.prototype.calculateTreeListTableBodyMatrix = function () {
11654
+ var _a;
11654
11655
  this._treeListBodyMatrix = new Array();
11655
11656
  var visibleTaskIndices = this.visibleTaskIndices;
11656
11657
  var colCount = this.treeListHeaderMatrix[0].length;
11657
11658
  for (var i = 0; i < visibleTaskIndices.length; i++) {
11658
11659
  var row = new Array();
11660
+ var visibleIndex = visibleTaskIndices[i];
11661
+ var taskKey = (_a = this._owner.getTask(visibleIndex)) === null || _a === void 0 ? void 0 : _a.id;
11659
11662
  for (var j = 0; j < colCount; j++) {
11660
- var cell = new CellDef_1.CellDef(this._owner.getTreeListCellInfo(visibleTaskIndices[i], j));
11663
+ var cell = new CellDef_1.CellDef(this._owner.getTreeListCellInfo(visibleIndex, j, taskKey));
11661
11664
  if (!cell.styles.cellWidth.hasValue())
11662
11665
  cell.styles.cellWidth.assign(this.getTreeListColumnWidth(j));
11663
11666
  if (this.rowHasChildren(visibleTaskIndices[i]))
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Gantt (dx-gantt.min)
3
- * Version: 4.1.14
4
- * Build date: Tue Feb 22 2022
3
+ * Version: 4.1.15
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