igniteui-angular 21.1.5 → 21.1.7
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/fesm2022/igniteui-angular-grids-core.mjs +31 -26
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +9 -3
- package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs +4 -0
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/lib/core/styles/components/grid/_grid-theme.scss +1 -0
- package/package.json +1 -1
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
- package/types/igniteui-angular-grids-core.d.ts +5 -0
- package/types/igniteui-angular-grids-grid.d.ts +1 -0
- package/types/igniteui-angular-grids-pivot-grid.d.ts +1 -0
|
@@ -3786,7 +3786,7 @@ class IgxGridBaseDirective {
|
|
|
3786
3786
|
this.cdr.detectChanges();
|
|
3787
3787
|
});
|
|
3788
3788
|
this.verticalScrollContainer.contentSizeChange.pipe(filter(() => !this._init), throttleTime(30), destructor).subscribe(() => {
|
|
3789
|
-
this.
|
|
3789
|
+
this.onContentSizeChange();
|
|
3790
3790
|
});
|
|
3791
3791
|
this.verticalScrollContainer.chunkPreload.pipe(filter(() => !this._init), destructor).subscribe(() => {
|
|
3792
3792
|
this.updateMergedData();
|
|
@@ -6834,18 +6834,21 @@ class IgxGridBaseDirective {
|
|
|
6834
6834
|
if (!this._height) {
|
|
6835
6835
|
return null;
|
|
6836
6836
|
}
|
|
6837
|
+
const styles = this.document.defaultView.getComputedStyle(this.nativeElement);
|
|
6837
6838
|
const actualTheadRow = this.getTheadRowHeight();
|
|
6838
6839
|
const footerHeight = this.getFooterHeight();
|
|
6839
6840
|
const toolbarHeight = this.getToolbarHeight();
|
|
6840
6841
|
const pagingHeight = this.getPagingFooterHeight();
|
|
6841
6842
|
const groupAreaHeight = this.getGroupAreaHeight();
|
|
6842
6843
|
const scrHeight = this.getComputedHeight(this.scr.nativeElement);
|
|
6844
|
+
const borderTop = parseFloat(styles.getPropertyValue('border-top-width')) || 0;
|
|
6845
|
+
const borderBottom = parseFloat(styles.getPropertyValue('border-bottom-width')) || 0;
|
|
6843
6846
|
const renderedHeight = toolbarHeight + actualTheadRow +
|
|
6844
6847
|
footerHeight + pagingHeight + groupAreaHeight +
|
|
6845
|
-
scrHeight;
|
|
6848
|
+
scrHeight + borderTop + borderBottom;
|
|
6846
6849
|
let gridHeight = 0;
|
|
6847
6850
|
if (this.isPercentHeight) {
|
|
6848
|
-
const computed =
|
|
6851
|
+
const computed = styles.getPropertyValue('height');
|
|
6849
6852
|
const autoSize = this._shouldAutoSize(renderedHeight);
|
|
6850
6853
|
if (autoSize || computed.indexOf('%') !== -1) {
|
|
6851
6854
|
const bodyHeight = this.getDataBasedBodyHeight();
|
|
@@ -7726,6 +7729,9 @@ class IgxGridBaseDirective {
|
|
|
7726
7729
|
return false;
|
|
7727
7730
|
return Object.keys(oldData[0]).join() !== Object.keys(newData[0]).join();
|
|
7728
7731
|
}
|
|
7732
|
+
onContentSizeChange() {
|
|
7733
|
+
this.notifyChanges(true);
|
|
7734
|
+
}
|
|
7729
7735
|
/**
|
|
7730
7736
|
* Clears the current navigation service active node
|
|
7731
7737
|
*/
|