We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Virtualization doesn't work in ejGrid with `enableVirtualization:true` and CDN scripts

I've enabled row virtualization with `enableVirtualization:true` but it's not working. Any ideas why? I have the following setup (see plunker):

$('#Grid').ejGrid({
  columns: columnDefs,
  height: 300,
  enableVirtualization: true,
  dataSource: window.data.slice(0, 1000),
});

I'm using CDN scripts:

<link rel="stylesheet" rel='nofollow' href="//cdn.syncfusion.com/13.2.0.29/js/web/flat-azure/ej.web.all.min.css"/>

<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//cdn.syncfusion.com/js/assets/external/jquery.easing.1.3.min.js"></script>
<script src="//cdn.syncfusion.com/js/assets/external/jquery.globalize.min.js"></script>
<script src="//cdn.syncfusion.com/js/assets/external/jsrender.min.js"></script>
<script src="//cdn.syncfusion.com/13.2.0.29/js/web/ej.web.all.min.js"></script>


3 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team May 27, 2019 05:48 PM UTC

Hi Max,

 

Thanks for contacting Syncfusion Support.

 

We have checked your query and you need to define enableVirtualization property under scrollSettings.  Please refer to the code example:-

 

$('#Grid').ejGrid({

                columns: columnDefs,

                         allowScrolling: true,

                          scrollSettings: { width: "auto", height: 300, enableVirtualization: true },

                         dataSource: window.data.slice(0, 1000),

                    });

        }

 

Refer to the documentation Link:- https://help.syncfusion.com/js/grid/scrolling#enhanced-virtual-scrolling

 

Also we have implemented the virtualization support with all properties from version 14.4.0.15. Kindly upgrade to minimum of 14.4.0.15  version or else latest version v17.1.0.47.

 

Please get back to us if you need any further assistance.

 

Regards,

Farveen sulthana T



MK Max Koretskyi June 10, 2019 11:14 AM UTC

Got it, great, thanks!


MP Manivannan Padmanaban Syncfusion Team June 11, 2019 04:10 AM UTC

Hi Max, 

Thanks for the update. 

We are happy to hear that the reported issue has been resolved.  

Kindly get back to us, if you need further assistance. 

Regards, 
Manivannan Padmanaban. 


Loader.
Live Chat Icon For mobile
Up arrow icon