@skyux/ag-grid 13.11.2 → 13.11.3
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.
|
@@ -766,9 +766,9 @@ class SkyAgGridDataManagerAdapterDirective {
|
|
|
766
766
|
});
|
|
767
767
|
effect(() => {
|
|
768
768
|
const viewId = this.viewId();
|
|
769
|
-
const
|
|
770
|
-
if (viewId &&
|
|
771
|
-
if (
|
|
769
|
+
const agGridApi = this.#currentAgGridReady()?.api;
|
|
770
|
+
if (viewId && agGridApi) {
|
|
771
|
+
if (agGridApi.getGridOption('context')?.enableTopScroll) {
|
|
772
772
|
this.#dataManagerSvc.setViewkeeperClasses(viewId, [
|
|
773
773
|
'.ag-header',
|
|
774
774
|
'.ag-body-horizontal-scroll',
|
|
@@ -782,8 +782,8 @@ class SkyAgGridDataManagerAdapterDirective {
|
|
|
782
782
|
effect(() => {
|
|
783
783
|
const isActiveView = this.#isActiveView();
|
|
784
784
|
const agGrid = untracked(this.#currentAgGridReady);
|
|
785
|
-
if (isActiveView
|
|
786
|
-
agGrid
|
|
785
|
+
if (isActiveView) {
|
|
786
|
+
agGrid?.api?.refreshCells();
|
|
787
787
|
}
|
|
788
788
|
});
|
|
789
789
|
}
|