@churchillliving/se-ui-toolkit 6.53.229 → 6.53.231
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/bundles/churchillliving-se-ui-toolkit.umd.js +21 -1
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +22 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +21 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4335,6 +4335,10 @@
|
|
|
4335
4335
|
row[column.field + '_secondType'] = exports.EGridColumnType.DATE;
|
|
4336
4336
|
}
|
|
4337
4337
|
}
|
|
4338
|
+
if (column.aggregate && column.aggregate.length > 0) {
|
|
4339
|
+
_this.aggregateFooter = true;
|
|
4340
|
+
_this.setAggregateText(column);
|
|
4341
|
+
}
|
|
4338
4342
|
});
|
|
4339
4343
|
this.rowClickData = row;
|
|
4340
4344
|
this.addNewRowCheck = true;
|
|
@@ -5585,6 +5589,10 @@
|
|
|
5585
5589
|
this.setDropdowndataValue = false;
|
|
5586
5590
|
this.isCheckBoxChangeEventCalled = false;
|
|
5587
5591
|
this.rowsChange.emit(this.rowsData);
|
|
5592
|
+
if (column.aggregate && column.aggregate.length > 0) {
|
|
5593
|
+
this.aggregateFooter = true;
|
|
5594
|
+
this.setAggregateText(column);
|
|
5595
|
+
}
|
|
5588
5596
|
};
|
|
5589
5597
|
GridComponent.prototype.checkBoxChangeEvent = function (event, column, row) {
|
|
5590
5598
|
row[column.field] = event;
|
|
@@ -5657,7 +5665,7 @@
|
|
|
5657
5665
|
// reset the grid rowsValue to orignal values
|
|
5658
5666
|
GridComponent.prototype.cancelAllRowsAtOnce = function () {
|
|
5659
5667
|
var _this = this;
|
|
5660
|
-
var _a;
|
|
5668
|
+
var _a, _b;
|
|
5661
5669
|
this.rowsData = __spreadArray([], __read(this.rowsDataCopy));
|
|
5662
5670
|
this.rowsDataCopy = JSON.parse(JSON.stringify(this.rowsData));
|
|
5663
5671
|
(_a = this.selectedColumns) === null || _a === void 0 ? void 0 : _a.forEach(function (column) {
|
|
@@ -5670,6 +5678,14 @@
|
|
|
5670
5678
|
});
|
|
5671
5679
|
}
|
|
5672
5680
|
});
|
|
5681
|
+
if ((_b = this.columns) === null || _b === void 0 ? void 0 : _b.length) {
|
|
5682
|
+
this.columns.forEach(function (column) {
|
|
5683
|
+
if (column.aggregate && column.aggregate.length > 0) {
|
|
5684
|
+
_this.aggregateFooter = true;
|
|
5685
|
+
_this.setAggregateText(column);
|
|
5686
|
+
}
|
|
5687
|
+
});
|
|
5688
|
+
}
|
|
5673
5689
|
this.onCancelAllRows.emit(this.rowsData);
|
|
5674
5690
|
};
|
|
5675
5691
|
GridComponent.prototype.getClassForEditAllRows = function (className) {
|
|
@@ -5768,6 +5784,10 @@
|
|
|
5768
5784
|
if (singleSelection) {
|
|
5769
5785
|
if (!event) {
|
|
5770
5786
|
this.isSelectedAllRows = false;
|
|
5787
|
+
rowInfo.selected_Row = false;
|
|
5788
|
+
}
|
|
5789
|
+
else {
|
|
5790
|
+
rowInfo.selected_Row = true;
|
|
5771
5791
|
}
|
|
5772
5792
|
var index = this.checklist.findIndex(function (row) { return row[_this.dataKey] == rowInfo[_this.dataKey]; });
|
|
5773
5793
|
if (index > -1) {
|