You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to update the data of a Grid with virtual scrolling enabled to a new one with a different number of items, and then use the scrollTo() method to programmatically scroll the component, it is displayed as an empty Grid with no records.
Describe the bug
When trying to update the data of a Grid with virtual scrolling enabled to a new one with a different number of items, and then use the scrollTo() method to programmatically scroll the component, it is displayed as an empty Grid with no records.
To Reproduce
Expected behavior
The Grid should not be displayed as empty and should be scrolled to the defined scroll position.
Workaround
Execute the scrollTo() method in a setTimeout() function:
setTimeout(() => { grid.scrollTo({row: 0, column: 0}); })
StackBlitz example with workaround:
https://stackblitz.com/edit/angular-1dooxc-xh3gmt
The text was updated successfully, but these errors were encountered: