@fundamental-ngx/platform 0.43.0-rc.0 → 0.43.0-rc.2
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/esm2020/table/table.component.mjs +3 -5
- package/fesm2015/fundamental-ngx-platform-table.mjs +2 -4
- package/fesm2015/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table.mjs +2 -4
- package/fesm2020/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fundamental-ngx-platform-v0.43.0-rc.2.tgz +0 -0
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/fundamental-ngx-platform-v0.43.0-rc.0.tgz +0 -0
|
@@ -3505,11 +3505,9 @@ class TableComponent extends Table {
|
|
|
3505
3505
|
/** expand all rows */
|
|
3506
3506
|
expandAll() {
|
|
3507
3507
|
const expandableRows = this._tableRows.filter((row) => row.type === TableRowType.TREE);
|
|
3508
|
-
if (
|
|
3509
|
-
this.
|
|
3510
|
-
return;
|
|
3508
|
+
if (this._dataSourceDirective.childDataSource) {
|
|
3509
|
+
this._tableRowService.loadChildRows(expandableRows);
|
|
3511
3510
|
}
|
|
3512
|
-
this._tableRowService.loadChildRows(expandableRows);
|
|
3513
3511
|
this._markAsExpanded(expandableRows);
|
|
3514
3512
|
this.allRowsExpanded.emit();
|
|
3515
3513
|
}
|