Hello,
We use ejGrid component. In
parent component's OnInit I added settings to enable virtualScrolling:
this.scrollSettings.height = 1500;
// ejGrid's virtual scrolling feature requires
// initial height so added it, but
this is not the actual height
this.scrollSettings.allowVirtualScrolling = true;
this.scrollSettings.virtualScrollMode
= ej.Grid.VirtualScrollMode.Normal
And I set the actual height in template:
<ej-grid #gpGrid
[style.height]="scrollSettings.height ? scrollSettings.height :
'660px'"
Looks like all works fine, but console throws
error:
> Cannot use 'in' operator to search for 'scroll'
in null