@esfaenza/es-table 11.2.37-beta2 → 11.2.38-beta1
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/esfaenza-es-table.umd.js +4 -4
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +5 -5
- package/fesm2015/esfaenza-es-table.js +4 -4
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -3908,20 +3908,20 @@
|
|
|
3908
3908
|
*/
|
|
3909
3909
|
EsTableComponent.prototype.bindDisplayToLoadedItemsOrGroups = function (view) {
|
|
3910
3910
|
var _a, _b;
|
|
3911
|
-
if (this.TMPBoundSource.length == 0) {
|
|
3911
|
+
if (!this.TMPBoundSource || this.TMPBoundSource.length == 0) {
|
|
3912
3912
|
this.BaseItemsCount = 0;
|
|
3913
3913
|
this.boundSource = this.TMPBoundSource;
|
|
3914
3914
|
return;
|
|
3915
3915
|
}
|
|
3916
3916
|
if (this.arrayMode || !this.UseCustomCells) {
|
|
3917
3917
|
this.boundSource = this.TMPBoundSource;
|
|
3918
|
-
this.BaseItemsCount = (view === null || view === void 0 ? void 0 : view.objectcount) || view.length;
|
|
3918
|
+
this.BaseItemsCount = (view === null || view === void 0 ? void 0 : view.objectcount) || (view === null || view === void 0 ? void 0 : view.length) || 0;
|
|
3919
3919
|
return;
|
|
3920
3920
|
}
|
|
3921
|
-
var groupingKeys = ((_b = (_a = view.groupings) === null || _a === void 0 ? void 0 : _a.filter(function (t) { return !t.aggregation; })) === null || _b === void 0 ? void 0 : _b.length) || 0;
|
|
3921
|
+
var groupingKeys = ((_b = (_a = view === null || view === void 0 ? void 0 : view.groupings) === null || _a === void 0 ? void 0 : _a.filter(function (t) { return !t.aggregation; })) === null || _b === void 0 ? void 0 : _b.length) || 0;
|
|
3922
3922
|
if (groupingKeys == 0) {
|
|
3923
3923
|
this.boundSource = this.TMPBoundSource;
|
|
3924
|
-
this.BaseItemsCount = view.objectcount;
|
|
3924
|
+
this.BaseItemsCount = (view === null || view === void 0 ? void 0 : view.objectcount) || 0;
|
|
3925
3925
|
return;
|
|
3926
3926
|
}
|
|
3927
3927
|
this.rowGrouping_H.handleNewDataOnRowGrouping(view, groupingKeys);
|