ejGrid virtual scroll

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

1 Reply

VN Vignesh Natarajan Syncfusion Team May 14, 2018 12:18 PM UTC

Hi AC, 

Thanks for using Syncfusion products. 

We have analyzed your issue and we have prepared a sample as per your suggestion. We are not able to reproduce the reported issue at our end (script error throws).  

Kindly download the sample from below link 


Kindly share the following details  

1.       Share the full grid rendering code. 
2.       Share the video demonstration and full stack trace of the script error thrown in console window. 
3.       Are you facing this issue while resizing the Grid content (Width)? If not share the exact replication procedure for the issue. 
4.       Share the Essential studio version (XX.X.X.XX).  
5.       If possible try to reproduce the reported issue in provided sample. 
 

Regards, 
Vignesh Natarajan 


Loader.
Up arrow icon