Virtualization + Remote Binding w/ Custom Adaptor

So the default behavior is when enableVirtualization & enableColumnVirtualization are set to true, a new remote request to server gets called when the virtualscroll event ​gets triggered. Is there a way to disable to automatic fetching from server when horizontally scrolling down on a virtualized grid?

Thanks!


3 Replies

AG Ajith Govarthan Syncfusion Team August 6, 2021 04:02 AM UTC

Hi Daimler Clavel, 

Thanks for contacting Syncfusion support. 

Query: So the default behavior is when enableVirtualization & enableColumnVirtualization are set to true, a new remote request to server gets called when the virtualscroll event ​gets triggered. Is there a way to disable to automatic fetching from server when horizontally scrolling down on a virtualized grid? 
 
By default, in our EJ2 Grid when you move the horizontal scroller we won’t send any request to send the server side with column virtualization feature. For your convenience we have attached the video demonstration of the column virtualization with remote data and documentation. Please refer them for your reference. 



If you still face the issue then, please share the below details to find the root cause of the issue. 

  1. Share the complete Grid code example.

  1. If possible please share the issue reproducible sample.
 
  1. Share the video demo of the reported issue.
 
  1. Share the Syncfusion package version.
 
Regards, 
Ajith G. 



DC Daimler Clavel replied to Ajith Govarthan August 8, 2021 11:27 PM UTC

Hello!

Sorry what I mean is vertically scrolling down, when virtualscroll event gets triggered, a remote request to server gets called. 



AG Ajith Govarthan Syncfusion Team August 10, 2021 01:31 AM UTC

Hi Daimler Clavel, 

Thanks for the update. 

Query: Sorry what I mean is vertically scrolling down, when virtualscroll event gets triggered, a remote request to server gets called 
 
Based on your query you don’t want to send any request to the server side when you vertically scroll with the virtual scrolling feature. By default, when you bind the remote data the Grid component will send requests to the server side to load the next block of records when you scroll vertically with virtual scroll feature. 

Which is the default behavior of our EJ2 Grid component. However, to provide you the prompt solution we need more details on your requirement. So, please share the below details to validate further on your query.  

  1. Share the complete Grid code example.

  1. Have you used Editing feature in your Grid application?
 
  1. Share the data adaptor used in your Grid application.
 
  1. Have you used the filtering, sorting in your Grid application? If yes, do you want to perform them filtering sorting in the client side alone?
 
  1. Share the Syncfusion package version.
 
Regards, 
Ajith G. 


Loader.
Up arrow icon