Full issue's background was described in handsontable/angular-handsontable#43.
To make a long story short, if you try to initialize Handsontable in a virtual created element, then virtual scrolling doesn't work.
this.updateSettings({}) instead of this.render().https://jsfiddle.net/mcvqyrd1/
If you use hot.view.wt.wtOverlays.updateMainScrollableElements() after initializing the Handsontable that also works (not inside the afterInit callback) and has a lot less of an impact on performance than updateSettings() does. Useful for if you are creating/destroying tables on a regular basis. Not sure if that information helps or not.
ETA for resolution of this issue ?
Hey @naveenjaiswal
the fix has been postponed. We need some time to figure out the exact approach. I will send you a notification once we get this done.
Most helpful comment
If you use
hot.view.wt.wtOverlays.updateMainScrollableElements()after initializing the Handsontable that also works (not inside theafterInitcallback) and has a lot less of an impact on performance thanupdateSettings()does. Useful for if you are creating/destroying tables on a regular basis. Not sure if that information helps or not.